[NTOS:KE] Fix freeze in KeBugCheckWithTf

This commit is contained in:
Timo Kreuzer 2023-11-30 11:02:31 +02:00
parent aee59404ce
commit e7354f244c

View file

@ -1092,17 +1092,7 @@ KeBugCheckWithTf(IN ULONG BugCheckCode,
KeBugCheckOwner = Prcb->Number;
/* Freeze the other CPUs */
for (ULONG i = 0; i < KeNumberProcessors; i++)
{
if (i != Prcb->Number)
{
/* Send the IPI */
KiIpiSend(AFFINITY_MASK(i), IPI_FREEZE);
}
}
/* Give the other CPUs one second to catch up */
KeStallExecutionProcessor(1000000);
KxFreezeExecution();
#endif
/* Display the BSOD */