[kernel] Remove getpid and fork system calls

The getpid and fork system calls were stubbed out previously, this
commit removes them and adds process_koid as a getpid replacement.
This commit is contained in:
2020-07-19 17:15:36 -07:00
parent c3abe035c8
commit 4cf222a5bb
4 changed files with 19 additions and 61 deletions

View File

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