Fixed the EFLAGS contents to actually enable IF
authorJohn Hodge <[email protected]>
Sat, 24 Apr 2010 02:21:17 +0000 (10:21 +0800)
committerJohn Hodge <[email protected]>
Sat, 24 Apr 2010 02:21:17 +0000 (10:21 +0800)
Kernel/arch/x86/proc.asm

index 9d752bf..b1843c7 100644 (file)
@@ -109,7 +109,7 @@ Proc_AlterUserReturnAddr:
        
        push 0x23       ; SS
        push ecx        ; ESP
-       push 0x22       ; EFLAGS
+       push 0x202      ; EFLAGS (IP and Rsvd)
        push 0x1B       ; CS
        push ebp        ; EIP
        

UCC git Repository :: git.ucc.asn.au