cr2 isn't pushed by pushal.
This commit is contained in:
parent
b742eafd7c
commit
52a228861e
|
@ -33,7 +33,7 @@ syscall_handler:
|
|||
pushl $0x0
|
||||
pushl $0x80
|
||||
|
||||
# Push eax, ecx, edx, ebx, esp, ebp, esi, edi, cr2
|
||||
# Push eax, ecx, edx, ebx, esp, ebp, esi, edi
|
||||
pushal
|
||||
|
||||
# Push the user-space data segment.
|
||||
|
|
Loading…
Reference in New Issue