aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/syscall.c
diff options
context:
space:
mode:
authorMarvin Borner2020-05-07 14:29:28 +0200
committerMarvin Borner2020-05-07 14:29:28 +0200
commit130121dd61a9adf70d1800ceb03007275bfb589d (patch)
tree5b00d9046c5f5a5678479b0ddf1bdbe72bc74158 /src/kernel/syscall/syscall.c
parent31767b532e69c5a63df0106fa08e137e3106a449 (diff)
Added wait syscall
Diffstat (limited to 'src/kernel/syscall/syscall.c')
-rw-r--r--src/kernel/syscall/syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/syscall/syscall.c b/src/kernel/syscall/syscall.c
index 958428a..f1ee003 100644
--- a/src/kernel/syscall/syscall.c
+++ b/src/kernel/syscall/syscall.c
@@ -15,6 +15,7 @@ u32 (*syscalls[])() = { [SYS_HALT] = (u32(*)())halt_loop, // DEBUG!
[SYS_READ] = sys_read,
[SYS_WRITE] = sys_write,
[SYS_EXEC] = sys_exec,
+ [SYS_WAIT] = sys_wait,
[SYS_GET_PID] = sys_get_pid,
[SYS_MALLOC] = sys_malloc,
[SYS_FREE] = sys_free,