2018-09-25 09:22:51 -07:00
|
|
|
#ifndef JOS_INC_SYSCALL_H
|
|
|
|
#define JOS_INC_SYSCALL_H
|
|
|
|
|
|
|
|
/* system call numbers */
|
|
|
|
enum {
|
|
|
|
SYS_cputs = 0,
|
|
|
|
SYS_cgetc,
|
|
|
|
SYS_getenvid,
|
|
|
|
SYS_env_destroy,
|
2018-10-06 06:52:47 -07:00
|
|
|
SYS_page_alloc,
|
|
|
|
SYS_page_map,
|
|
|
|
SYS_page_unmap,
|
|
|
|
SYS_exofork,
|
|
|
|
SYS_env_set_status,
|
2018-10-24 17:44:45 -07:00
|
|
|
SYS_env_set_trapframe,
|
2018-10-06 06:52:47 -07:00
|
|
|
SYS_env_set_pgfault_upcall,
|
|
|
|
SYS_yield,
|
|
|
|
SYS_ipc_try_send,
|
|
|
|
SYS_ipc_recv,
|
2018-09-25 09:22:51 -07:00
|
|
|
NSYSCALLS
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* !JOS_INC_SYSCALL_H */
|