mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 12:29:56 +00:00
[NTOS:KE] Fix freeze in KeBugCheckWithTf
This commit is contained in:
parent
aee59404ce
commit
e7354f244c
1 changed files with 1 additions and 11 deletions
|
@ -1092,17 +1092,7 @@ KeBugCheckWithTf(IN ULONG BugCheckCode,
|
||||||
KeBugCheckOwner = Prcb->Number;
|
KeBugCheckOwner = Prcb->Number;
|
||||||
|
|
||||||
/* Freeze the other CPUs */
|
/* Freeze the other CPUs */
|
||||||
for (ULONG i = 0; i < KeNumberProcessors; i++)
|
KxFreezeExecution();
|
||||||
{
|
|
||||||
if (i != Prcb->Number)
|
|
||||||
{
|
|
||||||
/* Send the IPI */
|
|
||||||
KiIpiSend(AFFINITY_MASK(i), IPI_FREEZE);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Give the other CPUs one second to catch up */
|
|
||||||
KeStallExecutionProcessor(1000000);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Display the BSOD */
|
/* Display the BSOD */
|
||||||
|
|
Loading…
Reference in a new issue