From f71af249cfb9ca9eb0832cc46437b2c5cb7bb217 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 29 Aug 2023 23:35:03 +0200 Subject: kernel: remove _sys_await, emulate it in libc --- src/libk/include/camellia/syscalls.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/libk') diff --git a/src/libk/include/camellia/syscalls.h b/src/libk/include/camellia/syscalls.h index 9a8fa94..b7e60a0 100644 --- a/src/libk/include/camellia/syscalls.h +++ b/src/libk/include/camellia/syscalls.h @@ -1,7 +1,6 @@ #pragma once #define _SYS_EXIT 0 -#define _SYS_AWAIT 1 #define _SYS_FORK 2 #define _SYS_OPEN 3 #define _SYS_MOUNT 4 @@ -36,11 +35,6 @@ long _syscall(long, long, long, long, long, long); */ _Noreturn void _sys_exit(long ret); -/** Waits for a child to exit. - * @return the value the child passed to exit() - */ -long _sys_await(void); - /** Creates a copy of the current process, and executes it. * All user memory pages get copied too. * @@ -85,7 +79,6 @@ void _sys_intr_set(void __user *ip); uint32_t _sys_getpid(void); uint32_t _sys_getppid(void); -// TODO deprecate await int _sys_wait2(int pid, int flags, struct sys_wait2 __user *out); /* see shared/execbuf.h */ -- cgit v1.2.3