From 1d0512957e802acfe7b677b30589a4e3bd26fac8 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 14 Sep 2021 20:31:40 +0200 Subject: add support for 4-parameter syscalls --- src/kernel/syscalls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/syscalls.c') diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c index 6821871..9002628 100644 --- a/src/kernel/syscalls.c +++ b/src/kernel/syscalls.c @@ -250,7 +250,7 @@ int _syscall_memflag(void __user *addr, size_t len, int flags) { return -1; } -int syscall_handler(int num, int a, int b, int c) { +int syscall_handler(int num, int a, int b, int c, int d) { switch (num) { case _SYSCALL_EXIT: _syscall_exit((userptr_t)a, b); -- cgit v1.2.3