mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
Organize system calls
* syscalls should all return j6_status_t now * syscalls are grouped by category in name as well as in files
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
SYSCALL(0x00, noop, void)
|
||||
SYSCALL(0x01, exit, void, int64_t)
|
||||
SYSCALL(0x02, getpid, pid_t)
|
||||
SYSCALL(0x03, fork, pid_t)
|
||||
SYSCALL(0x00, object_noop, void)
|
||||
SYSCALL(0x01, object_wait, j6_handle_t, j6_signal_t, j6_signal_t *)
|
||||
|
||||
SYSCALL(0x10, message, void, const char *)
|
||||
|
||||
SYSCALL(0x20, pause, void)
|
||||
SYSCALL(0x21, sleep, void, uint64_t)
|
||||
|
||||
SYSCALL(0x30, send, void)
|
||||
SYSCALL(0x31, receive, void)
|
||||
SYSCALL(0x11, process_exit, int64_t)
|
||||
SYSCALL(0x12, process_fork, pid_t*)
|
||||
SYSCALL(0x13, process_getpid, pid_t*)
|
||||
SYSCALL(0x14, process_log, const char *)
|
||||
SYSCALL(0x15, process_pause, void)
|
||||
SYSCALL(0x16, process_sleep, uint64_t)
|
||||
|
||||
Reference in New Issue
Block a user