From 52a228861e28bd36b0034a9c52bb09edfd5f14aa Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Wed, 2 Nov 2011 19:27:46 +0100 Subject: [PATCH] cr2 isn't pushed by pushal. --- sortix/x86/syscall.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sortix/x86/syscall.s b/sortix/x86/syscall.s index 2b30447f..2d19ed3c 100644 --- a/sortix/x86/syscall.s +++ b/sortix/x86/syscall.s @@ -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.