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/kernel/syscall/syscall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/syscall/syscall.h') diff --git a/src/kernel/syscall/syscall.h b/src/kernel/syscall/syscall.h index 7e37c81..d2c50c0 100644 --- a/src/kernel/syscall/syscall.h +++ b/src/kernel/syscall/syscall.h @@ -10,14 +10,14 @@ void syscalls_install(); u32 sys_exit(u32 code); -u32 sys_fork(struct regs *r); - u32 sys_read(char *path, u32 offset, u32 count, u8 *buf); u32 sys_write(char *path, u32 offset, u32 count, u8 *buf); u32 sys_exec(char *path); +u32 sys_spawn(char *path); + u32 sys_wait(u32 pid, u32 *status, u32 options); u32 sys_get_pid(); -- cgit v1.2.3