mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-08 05:49:17 +00:00
Stop tasking when stack guard fails
This commit is contained in:
@ -79,7 +79,7 @@ EXTERNC void Entry(BootInfo *Info)
|
||||
}
|
||||
KPrint("Enabling Interrupts on Bootstrap Processor");
|
||||
Interrupts::Enable(0);
|
||||
#if defined(__amd64__)
|
||||
#if defined(__amd64__)
|
||||
PowerManager->InitDSDT();
|
||||
#elif defined(__i386__)
|
||||
// FIXME: Add ACPI support for i386
|
||||
@ -101,3 +101,9 @@ EXTERNC void Entry(BootInfo *Info)
|
||||
KPrint("\e058C19################################");
|
||||
CPU::Halt(true);
|
||||
}
|
||||
|
||||
EXTERNC void TaskingPanic()
|
||||
{
|
||||
if (TaskManager)
|
||||
TaskManager->Panic();
|
||||
}
|
||||
|
Reference in New Issue
Block a user