Stop tasking when stack guard fails

This commit is contained in:
Alex
2022-11-17 19:09:43 +02:00
parent a9a5b1f64c
commit 13f93b8e21
3 changed files with 10 additions and 1 deletions

View File

@ -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();
}