Refactor ExceptionHandler

This commit is contained in:
EnderIce2
2024-02-15 22:10:04 +02:00
parent 1bc7c4b4dd
commit 9ab246f8c4

View File

@ -37,9 +37,11 @@
#include "crashhandler.hpp" #include "crashhandler.hpp"
#include "../kernel.h" #include "../kernel.h"
extern "C" nsa void ExceptionHandler(void *Data) void HandleException(CPU::ExceptionFrame *Frame);
extern "C" nsa void ExceptionHandler(void *Frame)
{ {
CrashHandler::Handle(Data); HandleException((CPU::ExceptionFrame *)Frame);
} }
namespace Interrupts namespace Interrupts