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

19 lines
423 B

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