《操作系统》的实验代码。
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.

18 lines
400 B

10 years ago
  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. /* FOR LAB6 ONLY */
  12. void sys_lab6_set_priority(uint32_t priority);
  13. int sys_sleep(unsigned int time);
  14. #endif /* !__USER_LIBS_SYSCALL_H__ */