From 130121dd61a9adf70d1800ceb03007275bfb589d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Thu, 7 May 2020 14:29:28 +0200 Subject: Added wait syscall --- src/userspace/libc/syscall.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/userspace/libc/syscall.c') diff --git a/src/userspace/libc/syscall.c b/src/userspace/libc/syscall.c index d5c6708..4b5c200 100644 --- a/src/userspace/libc/syscall.c +++ b/src/userspace/libc/syscall.c @@ -17,6 +17,8 @@ DEFN_SYSCALL4(write, SYS_WRITE, char *, u32, u32, u8 *); DEFN_SYSCALL1(exec, SYS_EXEC, char *); +DEFN_SYSCALL3(wait, SYS_WAIT, u32, u32 *, u32); + DEFN_SYSCALL0(get_pid, SYS_GET_PID); DEFN_SYSCALL1(malloc, SYS_MALLOC, u32); -- cgit v1.2.3