Allow manually breaking out of interrupt handler
This commit is contained in:
parent
56c9205fc8
commit
c95f256e1b
@ -59,5 +59,6 @@ registers *int_handler(registers *r)
|
|||||||
debug_error("Unhandled interrupt occurred\n");
|
debug_error("Unhandled interrupt occurred\n");
|
||||||
debug_error("Interrupt number: %d, Error code: %d\n", r->int_no, r->err_code);
|
debug_error("Interrupt number: %d, Error code: %d\n", r->int_no, r->err_code);
|
||||||
PANIC("Unhandled interrupt");
|
PANIC("Unhandled interrupt");
|
||||||
for(;;);
|
//for(;;);
|
||||||
|
return r;
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user