From f76631c47b92b0778b1073bcab55dc1240422f20 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Sat, 1 Feb 2025 20:49:58 +0000 Subject: fake syscall mechanism can return to user mode --- boot/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'boot/main.c') diff --git a/boot/main.c b/boot/main.c index 12b411c..611c833 100644 --- a/boot/main.c +++ b/boot/main.c @@ -69,9 +69,8 @@ typedef int64_t (syscall_delegate)(syscall_delegate_parameters params); //constexpr int NR_SYSCALLS = 10; //static syscall_delegate *syscall_handler_delegates[NR_SYSCALLS]; -SYSV_ABI int64_t fake_syscall_handler(uint64_t syscall_index, struct syscall_context *context) +SYSV_ABI int64_t fake_syscall_handler(struct syscall_context *context) { - (void)syscall_index; (void)context; return -1; } -- cgit v1.3.1-1-g115d