Freeze secondary processors during kernel panic
All checks were successful
Builds / ExectOS (i686, debug) (push) Successful in 50s
Builds / ExectOS (amd64, debug) (push) Successful in 51s
Builds / ExectOS (i686, release) (push) Successful in 34s
Builds / ExectOS (amd64, release) (push) Successful in 36s

This commit is contained in:
2026-06-08 15:02:55 +02:00
förälder d175a817a5
incheckning b911670121

Visa fil

@@ -303,6 +303,9 @@ KE::Crash::Panic(IN ULONG Code,
/* Set kernel panic state */ /* Set kernel panic state */
KernelPanic = TRUE; KernelPanic = TRUE;
/* Broadcast IPI_FREEZE to all other processors */
FreezeExecution(NULLPTR, NULLPTR);
/* Print error message to debug console */ /* 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", 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); Code, Parameter1, Parameter2, Parameter3, Parameter4);