Commit in reactos/ntoskrnl/ke/i386 on MAIN
exp.c+5-41.94 -> 1.95
- Enabled interrupts on page faults also for V86 mode.

reactos/ntoskrnl/ke/i386
exp.c 1.94 -> 1.95
diff -u -r1.94 -r1.95
--- exp.c	20 Nov 2004 23:46:36 -0000	1.94
+++ exp.c	27 Nov 2004 19:32:57 -0000	1.95
@@ -546,6 +546,11 @@
    cr2 = Ke386GetCr2();
    Tf->DebugPointer = (PVOID)cr2;
 
+   if (ExceptionNr == 14 && Tf->Eflags & FLAG_IF)
+   {
+     Ke386EnableInterrupts();
+   }
+
    /*
     * If this was a V86 mode exception then handle it specially
     */
@@ -574,10 +579,6 @@
 	{
            KEBUGCHECKWITHTF(ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY, 0, 0, 0, 0, Tf);
 	}
-        if (Tf->Eflags & FLAG_IF)
-	{
-	  Ke386EnableInterrupts();
-	}
 	Status = MmPageFault(Tf->Cs&0xffff,
 			     &Tf->Eip,
 			     &Tf->Eax,
CVSspam 0.2.8