diff options
| author | Ada Christine <adachristine18@gmail.com> | 2025-02-01 20:49:58 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2025-02-01 20:49:58 +0000 |
| commit | f76631c47b92b0778b1073bcab55dc1240422f20 (patch) | |
| tree | ba44c92784705e1e0e0fced1428a17056537f711 /boot/main.c | |
| parent | 9792d78c44ebddd128785a00358cbf38ac714d5d (diff) | |
fake syscall mechanism can return to user mode
Diffstat (limited to 'boot/main.c')
| -rw-r--r-- | boot/main.c | 3 |
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; } |
