Skip to content

Commit

Permalink
[NTOS:KE] Fix freeze in KeBugCheckWithTf
Browse files Browse the repository at this point in the history
  • Loading branch information
tkreuzer committed Dec 13, 2024
1 parent 9382aa2 commit 827bfa3
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions ntoskrnl/ke/bug.c
Original file line number Diff line number Diff line change
Expand Up @@ -1080,17 +1080,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 */
Expand Down

0 comments on commit 827bfa3

Please sign in to comment.