From 35958c8c6b600482f68fef08ac26547b5655e987 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 7 Feb 2024 11:36:21 +0100 Subject: A lot of small changes --- kernel/cpu/int_syscall.s | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kernel/cpu/int_syscall.s') 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 -- cgit v1.2.3