diff options
author | dzwdz | 2024-07-26 21:40:57 +0200 |
---|---|---|
committer | dzwdz | 2024-07-26 21:40:57 +0200 |
commit | 58514d351e1f0e8871f534422cf025109ddbb844 (patch) | |
tree | 43c91a3c6c325649be2f07f2a38d0753f0a68cf7 /src/libc | |
parent | 69fd0dd9fda47aa52cccdbef6ca388cea38e693b (diff) |
kernel: implement _sys_intr_return
Diffstat (limited to 'src/libc')
-rw-r--r-- | src/libc/syscall.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libc/syscall.c b/src/libc/syscall.c index c6e3762..023a7bb 100644 --- a/src/libc/syscall.c +++ b/src/libc/syscall.c @@ -102,6 +102,10 @@ long _sys_duplex(hid_t from, hid_t to, int flags) { return _syscall(_SYS_DUPLEX, (long)from, (long)to, (long)flags, 0, 0); } +void _sys_intr_return(struct intr_data __user *intr, int flags) { + return (void)_syscall(_SYS_INTR_RETURN, (long)intr, (long)flags, 0, 0, 0); +} + long _sys_execbuf(void __user *buf, size_t len) { return _syscall(_SYS_EXECBUF, (long)buf, (long)len, 0, 0, 0); } |