Files
ksOS/Kernel/Source/Arch/Exceptions.c
T
2026-04-29 17:00:11 +04:00

12 lines
324 B
C

#include <Arch/Exceptions.h>
#include <Arch/CPU.h>
#include <Arch/GIC.h>
#include <IO/Serial.h>
#include <OS/Panic.h>
Address ExceptionsHandler(ExceptionsContext* frame, ExceptionsType type) {
if (type == ExceptionsIRQEl1h || type == ExceptionsIRQEl064) return GICDispatch(frame, type);
OSPanicException(frame);
}