mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
[kernel] Move interrupt error handling to kassert
Remove all the console-printing code in the interrupt handling routine and have it pass off to the panic handler.
This commit is contained in:
@@ -16,9 +16,6 @@ void panic_handler(
|
||||
panic::frame const *fp = nullptr;
|
||||
asm ( "mov %%rbp, %0" : "=r" (fp) );
|
||||
|
||||
// Skip the panic handler itself
|
||||
if (fp) fp = fp->prev;
|
||||
|
||||
print_header(com1, message);
|
||||
print_callstack(com1, syms, fp);
|
||||
print_cpu_state(com1, *regs);
|
||||
|
||||
Reference in New Issue
Block a user