更好的Panic、

This commit is contained in:
2026-04-17 18:26:39 +08:00
parent cb2406cbed
commit bf6720c6e8
6 changed files with 502 additions and 11 deletions

View File

@@ -260,7 +260,12 @@ void clks_interrupt_dispatch(struct clks_interrupt_frame *frame) {
return;
}
clks_panic_exception(clks_exception_names[vector], vector, frame->error_code, frame->rip);
clks_panic_exception(clks_exception_names[vector],
vector,
frame->error_code,
frame->rip,
frame->rbp,
frame->rsp);
}
if (vector == CLKS_IRQ_TIMER) {