From 390aec5ca22e62d128e71d1dee312a2f0a82ab68 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 19 Aug 2022 19:44:36 +0200 Subject: syscall/fs_wait: return a handle for each request --- src/shared/include/camellia/syscalls.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/shared/include') diff --git a/src/shared/include/camellia/syscalls.h b/src/shared/include/camellia/syscalls.h index 50fd5c8..dfc964f 100644 --- a/src/shared/include/camellia/syscalls.h +++ b/src/shared/include/camellia/syscalls.h @@ -62,10 +62,8 @@ long _syscall_getsize(handle_t h); long _syscall_remove(handle_t h); long _syscall_close(handle_t h); -/** Blocks until an fs request is made. - * @return 0 if everything was successful */ -long _syscall_fs_wait(char __user *buf, long max_len, struct fs_wait_response __user *res); -long _syscall_fs_respond(void __user *buf, long ret, int flags); +handle_t _syscall_fs_wait(char __user *buf, long max_len, struct fs_wait_response __user *res); +long _syscall_fs_respond(handle_t hid, void __user *buf, long ret, int flags); /** Modifies the virtual address space. * -- cgit v1.2.3