diff options
Diffstat (limited to 'src/user/lib/syscall.c')
-rw-r--r-- | src/user/lib/syscall.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/user/lib/syscall.c b/src/user/lib/syscall.c index d6ed0af..d42c2ee 100644 --- a/src/user/lib/syscall.c +++ b/src/user/lib/syscall.c @@ -74,6 +74,14 @@ void _syscall_filicide(void) { return (void)_syscall(_SYSCALL_FILICIDE, 0, 0, 0, 0, 0); } +void _syscall_intr(void) { + return (void)_syscall(_SYSCALL_INTR, 0, 0, 0, 0, 0); +} + +void _syscall_intr_set(void __user *ip) { + return (void)_syscall(_SYSCALL_INTR_SET, (long)ip, 0, 0, 0, 0); +} + long _syscall_execbuf(void __user *buf, size_t len) { return _syscall(_SYSCALL_EXECBUF, (long)buf, (long)len, 0, 0, 0); } |