mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-05 04:19:19 +00:00
Improved crash screen
This commit is contained in:
@ -19,7 +19,7 @@
|
||||
#include "../crashhandler.hpp"
|
||||
#include "../kernel.h"
|
||||
|
||||
extern "C" __attribute__((no_stack_protector)) void ExceptionHandler(void *Data) { CrashHandler::Handle(Data); }
|
||||
extern "C" __no_stack_protector void ExceptionHandler(void *Data) { CrashHandler::Handle(Data); }
|
||||
|
||||
namespace Interrupts
|
||||
{
|
||||
@ -118,7 +118,7 @@ namespace Interrupts
|
||||
if (apic[Core])
|
||||
{
|
||||
((APIC::APIC *)Interrupts::apic[Core])->EOI();
|
||||
// apic->IPI(CurrentCPU->ID, SchedulerInterrupt); ??????
|
||||
// TODO: Handle PIC too
|
||||
return;
|
||||
}
|
||||
// TODO: PIC
|
||||
@ -127,6 +127,7 @@ namespace Interrupts
|
||||
#elif defined(__aarch64__)
|
||||
void *Frame = Data;
|
||||
#endif
|
||||
error("HALT HALT HALT HALT HALT HALT HALT HALT HALT");
|
||||
CPU::Stop();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user