Err, actually deliver APCs when returning from systemcalls... fixes bug 810

svn path=/trunk/; revision=18109
This commit is contained in:
Alex Ionescu 2005-09-26 20:52:20 +00:00
parent 532121508b
commit 06190df7c1

View file

@ -808,7 +808,7 @@ KiInitializeUserApc(IN PKEXCEPTION_FRAME ExceptionFrame,
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;