[Zion] Add more context to GPT faults in the interrupt handler.

This commit is contained in:
Drew Galbraith 2023-11-24 16:49:05 -08:00
parent 7695396980
commit ba1b4df702
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,8 @@ extern "C" void interrupt_protection_fault(InterruptFrame* frame) {
}
dbgln("Index: {}", err >> 3);
dbgln("RIP: {x}", frame->rip);
dbgln("RAX: {x}, RBX: {x}, RCX: {x}, RDX: {x}", frame->rax, frame->rbx,
frame->rcx, frame->rdx);
dbgln("RSP: {x}", frame->rsp);
StackUnwind(frame->rbp);