diff options
author | Anton Kling <anton@kling.gg> | 2024-02-07 11:36:21 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-02-07 22:25:47 +0100 |
commit | 35958c8c6b600482f68fef08ac26547b5655e987 (patch) | |
tree | a3329136adc1b92885c60462e7dd74c98eaa0953 /kernel/cpu/int_syscall.s | |
parent | b7fa1457727338416499d1b0144f1042a6878a97 (diff) |
A lot of small changes
Diffstat (limited to 'kernel/cpu/int_syscall.s')
-rw-r--r-- | kernel/cpu/int_syscall.s | 3 |
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 |