Freeze secondary processors during kernel panic

This commit is contained in:
2026-06-08 15:02:55 +02:00
parent d175a817a5
commit b911670121

View File

@@ -303,6 +303,9 @@ KE::Crash::Panic(IN ULONG Code,
/* Set kernel panic state */
KernelPanic = TRUE;
/* Broadcast IPI_FREEZE to all other processors */
FreezeExecution(NULLPTR, NULLPTR);
/* Print error message to debug console */
KD::DebugIo::KdPrint(L"Fatal System Error: 0x%08lx (0x%zx 0x%zx 0x%zx 0x%zx)\nKernel Panic!\n\n",
Code, Parameter1, Parameter2, Parameter3, Parameter4);