Set KernelApcPending == TRUE in KiCheckForKernelApcDelivery if we are at APC_LEVEL. This should hopefully fix some of those silent bugs. Thanks to Ignatich for poking me about it.

svn path=/trunk/; revision=20820
This commit is contained in:
Alex Ionescu 2006-01-12 21:21:19 +00:00
parent d3bb910b19
commit addb22e71d

View file

@ -57,6 +57,7 @@ KiCheckForKernelApcDelivery(VOID)
* be delivered now, but after the IRQL is lowered to passive
* level again.
*/
KeGetCurrentThread()->ApcState.KernelApcPending = TRUE;
HalRequestSoftwareInterrupt(APC_LEVEL);
}
}