summaryrefslogtreecommitdiff
path: root/src/user/lib/syscall.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/lib/syscall.c')
-rw-r--r--src/user/lib/syscall.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/user/lib/syscall.c b/src/user/lib/syscall.c
index 842b7b9..ffda454 100644
--- a/src/user/lib/syscall.c
+++ b/src/user/lib/syscall.c
@@ -58,6 +58,10 @@ long _syscall_pipe(handle_t __user user_ends[2], int flags) {
return _syscall(_SYSCALL_PIPE, (long)user_ends, (long)flags, 0, 0, 0);
}
+void _syscall_sleep(long ms) {
+ return (void)_syscall(_SYSCALL_SLEEP, ms, 0, 0, 0, 0);
+}
+
long _syscall_execbuf(void __user *buf, size_t len) {
return _syscall(_SYSCALL_EXECBUF, (long)buf, (long)len, 0, 0, 0);
}