add exercise of lab5 spoc discussion

This commit is contained in:
yuchen
2015-04-20 12:44:41 +08:00
parent 331b8dff5a
commit f39299c9a2
104 changed files with 12528 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
#ifndef __USER_LIBS_SYSCALL_H__
#define __USER_LIBS_SYSCALL_H__
int sys_exit(int error_code);
int sys_fork(void);
int sys_wait(int pid, int *store);
int sys_yield(void);
int sys_kill(int pid);
int sys_getpid(void);
int sys_putc(int c);
int sys_pgdir(void);
#endif /* !__USER_LIBS_SYSCALL_H__ */