diff options
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 |