summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authordzwdz2021-09-12 17:53:48 +0200
committerdzwdz2021-09-12 17:53:48 +0200
commit3ea9657aaaf02709c8f216285b095af29e76491c (patch)
tree36dfe7038f2ff829791ccdaf18b0ee71744207a6 /src/shared
parent5090829984cd4b3238d3f42eaad2431f1fd5282b (diff)
implement part of `fs_respond`
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/syscalls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/syscalls.h b/src/shared/syscalls.h
index d96c8a7..2b5a80e 100644
--- a/src/shared/syscalls.h
+++ b/src/shared/syscalls.h
@@ -22,6 +22,7 @@ enum {
_SYSCALL_FS_CREATE,
_SYSCALL_FS_WAIT,
+ _SYSCALL_FS_RESPOND,
_SYSCALL_MEMFLAG,
};
@@ -53,7 +54,7 @@ int _syscall_close(handle_t);
* @param back a pointer to a handle_t which will store the back pointer
*/
handle_t _syscall_fs_create(handle_t __user *back);
-
int _syscall_fs_wait(handle_t back, char __user *buf, int __user *len);
+int _syscall_fs_respond(int ret, char __user *buf, int len);
int _syscall_memflag(void __user *addr, size_t len, int flags);