sched: add basic scheduler, fork syscall
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
8fc9f1396e
commit
b6a9ddd1d0
8 changed files with 133 additions and 8 deletions
|
|
@ -10,6 +10,8 @@
|
|||
#define SYS_close 3
|
||||
#define SYS_pread 4
|
||||
#define SYS_pwrite 5
|
||||
#define SYS_fork 57
|
||||
#define SYS_exit 60
|
||||
|
||||
typedef ssize_t (*syscall_t)(u64 arg1, u64 arg2, u64 arg3, u64 arg4, u64 arg5, u64 arg6);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue