summaryrefslogtreecommitdiff
path: root/src/kernel/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/syscalls.c')
-rw-r--r--src/kernel/syscalls.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/kernel/syscalls.c b/src/kernel/syscalls.c
index 1bc1a44..27e835d 100644
--- a/src/kernel/syscalls.c
+++ b/src/kernel/syscalls.c
@@ -25,10 +25,7 @@ int sc_debuglog(const char *msg, size_t len) {
return len;
}
-int syscall_handler(int num, int a, int b, int c, void *stack, void *eip) {
- process_current->esp = stack;
- process_current->eip = eip;
-
+int syscall_handler(int num, int a, int b, int c) {
switch (num) {
case SC_EXIT:
sc_exit((void*)a, b);