《操作系统》的实验代码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
298 B

  1. #ifndef __USER_LIBS_SYSCALL_H__
  2. #define __USER_LIBS_SYSCALL_H__
  3. int sys_exit(int error_code);
  4. int sys_fork(void);
  5. int sys_wait(int pid, int *store);
  6. int sys_yield(void);
  7. int sys_kill(int pid);
  8. int sys_getpid(void);
  9. int sys_putc(int c);
  10. int sys_pgdir(void);
  11. #endif /* !__USER_LIBS_SYSCALL_H__ */