diff options
author | Marvin Borner | 2020-05-09 17:39:31 +0200 |
---|---|---|
committer | Marvin Borner | 2020-05-09 17:39:31 +0200 |
commit | 09a66e91ec9e8a677aa48f27798753084f213713 (patch) | |
tree | 9685a13b459e60d830179c565417ed72ae855ebe /src/userspace/libc/syscall.c | |
parent | 3a97fef4bb4780e4bc2423699063d40cbf5da923 (diff) |
Replaced fork() with spawn()!
Who needs forks anyway
Diffstat (limited to 'src/userspace/libc/syscall.c')
-rw-r--r-- | src/userspace/libc/syscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |