summaryrefslogtreecommitdiff
path: root/boot/main.c
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2025-02-01 20:49:58 +0000
committerAda Christine <adachristine18@gmail.com>2025-02-01 20:49:58 +0000
commitf76631c47b92b0778b1073bcab55dc1240422f20 (patch)
treeba44c92784705e1e0e0fced1428a17056537f711 /boot/main.c
parent9792d78c44ebddd128785a00358cbf38ac714d5d (diff)
fake syscall mechanism can return to user mode
Diffstat (limited to 'boot/main.c')
-rw-r--r--boot/main.c3
1 files changed, 1 insertions, 2 deletions
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;
}