summaryrefslogtreecommitdiff
path: root/kernel/cpu/int_syscall.s
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2024-02-07 11:36:21 +0100
committerAnton Kling <anton@kling.gg>2024-02-07 22:25:47 +0100
commit35958c8c6b600482f68fef08ac26547b5655e987 (patch)
treea3329136adc1b92885c60462e7dd74c98eaa0953 /kernel/cpu/int_syscall.s
parentb7fa1457727338416499d1b0144f1042a6878a97 (diff)
A lot of small changes
Diffstat (limited to 'kernel/cpu/int_syscall.s')
-rw-r--r--kernel/cpu/int_syscall.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/cpu/int_syscall.s b/kernel/cpu/int_syscall.s
index 8c3c25f..ec7693a 100644
--- a/kernel/cpu/int_syscall.s
+++ b/kernel/cpu/int_syscall.s
@@ -2,6 +2,7 @@
.global int_syscall
.extern syscall_function_handler
int_syscall:
+ push esp
push ebp
push edi
push esi
@@ -10,7 +11,7 @@ int_syscall:
push ebx
push eax
call syscall_function_handler
- add esp, 4
+ add esp, 8
pop ebx
pop ecx
pop edx