diff options
author | dzwdz | 2021-09-09 21:14:26 +0200 |
---|---|---|
committer | dzwdz | 2021-09-09 21:14:26 +0200 |
commit | 80b2c1c2ab36b4ddb030e135bcacf1f30db362d2 (patch) | |
tree | 50eaf0a30fb296a21f24254575b4d6bbb52c95f1 /src/init/syscalls.c | |
parent | 7192887ee27487d209b98b7192cb6798b036b824 (diff) |
basic _syscall_fs_wait() impl, doesn't pass the req yet
Diffstat (limited to 'src/init/syscalls.c')
-rw-r--r-- | src/init/syscalls.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); +} |