sched: add basic scheduler, fork syscall

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-21 21:18:51 -04:00
commit b6a9ddd1d0
8 changed files with 133 additions and 8 deletions

View file

@ -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);