mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
9e3ac64248
Added a stack trace and a register dump
17 lines
256 B
C
17 lines
256 B
C
#include <arch/isr.h>
|
|
#include <arch/panic.h>
|
|
|
|
void isr_general(arch_regsnoerror *reg){
|
|
_panic("Unhandled interrupt", 0);
|
|
asm("hlt");
|
|
}
|
|
|
|
void isr_except(arch_regserror *reg){
|
|
_panic("CPU Exception", reg);
|
|
asm("hlt;");
|
|
}
|
|
|
|
void isr_pagefault(void*){
|
|
|
|
}
|