From: John Hodge Date: Sat, 24 Apr 2010 02:21:17 +0000 (+0800) Subject: Fixed the EFLAGS contents to actually enable IF X-Git-Tag: rel0.06~219 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=b2b9acdf26d6b525f09545b0d07845fde997873b;p=tpg%2Facess2.git Fixed the EFLAGS contents to actually enable IF --- diff --git a/Kernel/arch/x86/proc.asm b/Kernel/arch/x86/proc.asm index 9d752bf1..b1843c78 100644 --- a/Kernel/arch/x86/proc.asm +++ b/Kernel/arch/x86/proc.asm @@ -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