https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e7354f244ca12abfd37c67bfacfffea586751749
commit e7354f244ca12abfd37c67bfacfffea586751749 Author: Timo Kreuzer <timo.kreu...@reactos.org> AuthorDate: Thu Nov 30 11:02:31 2023 +0200 Commit: Timo Kreuzer <timo.kreu...@reactos.org> CommitDate: Thu Dec 26 11:27:39 2024 +0200 [NTOS:KE] Fix freeze in KeBugCheckWithTf --- ntoskrnl/ke/bug.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/ntoskrnl/ke/bug.c b/ntoskrnl/ke/bug.c index 7cb9c1c2e67..bf0843ed23e 100644 --- a/ntoskrnl/ke/bug.c +++ b/ntoskrnl/ke/bug.c @@ -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 */