From 09a66e91ec9e8a677aa48f27798753084f213713 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 9 May 2020 17:39:31 +0200 Subject: Replaced fork() with spawn()! Who needs forks anyway --- src/userspace/libc/syscall.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/userspace/libc/syscall.c') diff --git a/src/userspace/libc/syscall.c b/src/userspace/libc/syscall.c index 5a9fda8..fb00a12 100644 --- a/src/userspace/libc/syscall.c +++ b/src/userspace/libc/syscall.c @@ -9,14 +9,14 @@ DEFN_SYSCALL0(halt, SYS_HALT); DEFN_SYSCALL1(exit, SYS_EXIT, u32); -DEFN_SYSCALL0(fork, SYS_FORK); - DEFN_SYSCALL4(read, SYS_READ, char *, u32, u32, u8 *); DEFN_SYSCALL4(write, SYS_WRITE, char *, u32, u32, u8 *); DEFN_SYSCALL1(exec, SYS_EXEC, char *); +DEFN_SYSCALL1(spawn, SYS_SPAWN, char *); + DEFN_SYSCALL3(wait, SYS_WAIT, u32, u32 *, u32); DEFN_SYSCALL0(get_pid, SYS_GET_PID); -- cgit v1.2.3