navaraf(a)svn.reactos.com wrote:
Add TestAlert check to NtContinue.
Modified: trunk/reactos/ntoskrnl/ps/i386/continue.c
------------------------------------------------------------------------
*Modified: trunk/reactos/ntoskrnl/ps/i386/continue.c*
--- trunk/reactos/ntoskrnl/ps/i386/continue.c 2005-09-25 09:22:22 UTC (rev 18042)
+++ trunk/reactos/ntoskrnl/ps/i386/continue.c 2005-09-25 09:23:05 UTC (rev 18043)
@@ -80,6 +80,11 @@
KeLowerIrql(oldIrql);
}
+ if (TestAlert)
+ {
+ KeTestAlertThread(TrapFrame->PreviousMode);
+ }
+
/* Restore the user context */
Thread->TrapFrame = PrevTrapFrame;
__asm__("mov %%ebx, %%esp;\n" "jmp _KiServiceExit": :
"b" (TrapFrame));
You know, that ps\i386\continue.c is not longer used. The code was moved
to ke\i386\syscall.S.
- Hartmut