mirror of
https://github.com/SmallPond/MIT6.828_OS.git
synced 2026-02-03 19:13:20 +08:00
27 lines
432 B
C
27 lines
432 B
C
#ifndef JOS_INC_SYSCALL_H
|
|
#define JOS_INC_SYSCALL_H
|
|
|
|
/* system call numbers */
|
|
enum {
|
|
SYS_cputs = 0,
|
|
SYS_cgetc,
|
|
SYS_getenvid,
|
|
SYS_env_destroy,
|
|
SYS_page_alloc,
|
|
SYS_page_map,
|
|
SYS_page_unmap,
|
|
SYS_exofork,
|
|
SYS_env_set_status,
|
|
SYS_env_set_trapframe,
|
|
SYS_env_set_pgfault_upcall,
|
|
SYS_yield,
|
|
SYS_ipc_try_send,
|
|
SYS_ipc_recv,
|
|
SYS_time_msec,
|
|
SYS_pkt_try_send,
|
|
SYS_pkt_try_recv,
|
|
NSYSCALLS,
|
|
};
|
|
|
|
#endif /* !JOS_INC_SYSCALL_H */
|