diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-16 13:03:19 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-16 13:03:19 -0400 |
commit | f166b2303a96a5e65e235139291df93b2b24bc3e (patch) | |
tree | 556e787bfc6ed1c9891aec9023ce4f8caf589958 /sys/include | |
parent | 3db86a30644d3eb3a964202dbfd7e91c432bda7b (diff) |
kernel,libc: syscall: Improve syscall code
- Remove the SYS_debug syscall
- First syscall starts at 1
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/syscall.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/include/sys/syscall.h b/sys/include/sys/syscall.h index 03eda0b..66dc5f3 100644 --- a/sys/include/sys/syscall.h +++ b/sys/include/sys/syscall.h @@ -37,8 +37,7 @@ /* Do not reorder */ enum { - SYS_debug = 0, - SYS_exit, + SYS_exit = 1, __MAX_SYSCALLS }; |