Initial building of the vdso.

Not actually integrating with the kernel yet.
This commit is contained in:
Justin C. Miller
2019-10-09 22:28:56 -07:00
parent 6963304c01
commit 991b13424e
8 changed files with 140 additions and 2 deletions

9
src/include/syscalls.inc Normal file
View File

@@ -0,0 +1,9 @@
SYSCALL(0x00, object_noop, void)
SYSCALL(0x01, object_wait, j6_handle_t, j6_signal_t, j6_signal_t *)
SYSCALL(0x11, process_exit, int64_t)
//SYSCALL(0x12, process_fork, j6_koid_t*)
//SYSCALL(0x13, process_getpid, j6_koid_t*)
SYSCALL(0x14, process_log, const char *)
SYSCALL(0x15, process_pause, void)
SYSCALL(0x16, process_sleep, uint64_t)