From 58514d351e1f0e8871f534422cf025109ddbb844 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 26 Jul 2024 21:40:57 +0200 Subject: kernel: implement _sys_intr_return --- src/libc/syscall.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libc/syscall.c') 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); } -- cgit v1.2.3