mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[NTOS:KE] Fix freeze in KeBugCheckWithTf
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user