summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authordzwdz2022-08-04 15:58:54 +0200
committerdzwdz2022-08-04 15:58:54 +0200
commit81a58004d51547d074b4218f906b0b95f2b2c5dc (patch)
tree4301047fc342e165bc5a043a04b5fed44b8e8084 /src/shared
parent4a844820866094ff7d57435a16b7c23a9126814d (diff)
syscalls: add _syscall_sleep()
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/include/camellia/syscalls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/include/camellia/syscalls.h b/src/shared/include/camellia/syscalls.h
index 84af276..40cb68d 100644
--- a/src/shared/include/camellia/syscalls.h
+++ b/src/shared/include/camellia/syscalls.h
@@ -29,6 +29,8 @@ enum {
_SYSCALL_MEMFLAG,
_SYSCALL_PIPE,
+ _SYSCALL_SLEEP,
+
_SYSCALL_EXECBUF = 100,
_SYSCALL_DEBUG_KLOG,
@@ -88,6 +90,8 @@ long _syscall_fs_respond(void __user *buf, long ret, int flags);
void __user *_syscall_memflag(void __user *addr, size_t len, int flags);
long _syscall_pipe(handle_t __user user_ends[2], int flags);
+void _syscall_sleep(long ms);
+
/* see shared/execbuf.h */
long _syscall_execbuf(void __user *buf, size_t len);