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 bda7312..5fff75b 100644 --- a/kernel/cpu/int_syscall.s +++ b/kernel/cpu/int_syscall.s @@ -23,8 +23,9 @@ mov edi,DWORD PTR [edx+0x1c] push edi mov edi,DWORD PTR [edx+0x14] push edi + call eax -add esp,0x20 +add esp,20 mov edx,DWORD PTR [ebp+0x8] # reg_t* mov DWORD PTR [edx+0x20],eax lea esp,[ebp-0xc] |