From 80b2c1c2ab36b4ddb030e135bcacf1f30db362d2 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 9 Sep 2021 21:14:26 +0200 Subject: basic _syscall_fs_wait() impl, doesn't pass the req yet --- src/init/syscalls.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/init/syscalls.c') diff --git a/src/init/syscalls.c b/src/init/syscalls.c index 4c645c2..c091247 100644 --- a/src/init/syscalls.c +++ b/src/init/syscalls.c @@ -40,3 +40,7 @@ int _syscall_close(handle_t handle) { handle_t _syscall_fs_create(user_ptr back) { return _syscall(_SYSCALL_FS_CREATE, (int)back, 0, 0); } + +int _syscall_fs_wait(handle_t back, user_ptr info) { + return _syscall(_SYSCALL_FS_WAIT, back, info, 0); +} -- cgit v1.2.3