Err, actually deliver APCs when returning from systemcalls... fixes bug
810
Modified: trunk/reactos/ntoskrnl/ke/apc.c
_____
Modified: trunk/reactos/ntoskrnl/ke/apc.c
--- trunk/reactos/ntoskrnl/ke/apc.c 2005-09-26 20:44:43 UTC (rev
18108)
+++ trunk/reactos/ntoskrnl/ke/apc.c 2005-09-26 20:52:20 UTC (rev
18109)
@@ -808,7 +808,7 @@
KeGetCurrentThread()->TrapFrame);
/* Don't deliver APCs in V86 mode */
- if (TrapFrame->Eflags & 2) return;
+ if (TrapFrame->Eflags & X86_EFLAGS_VM) return;
/* Save the full context */
Context.ContextFlags = CONTEXT_FULL | CONTEXT_DEBUG_REGISTERS;