Changes in kernel/arch/ia32/src/interrupt.c [203deeb8:98000fb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/interrupt.c
r203deeb8 r98000fb 53 53 #include <ddi/irq.h> 54 54 #include <symtab.h> 55 #include <stacktrace.h>56 55 57 56 /* … … 80 79 printf("stack: %#lx, %#lx, %#lx, %#lx\n", istate->stack[0], istate->stack[1], istate->stack[2], istate->stack[3]); 81 80 printf(" %#lx, %#lx, %#lx, %#lx\n", istate->stack[4], istate->stack[5], istate->stack[6], istate->stack[7]); 82 83 stack_trace_istate(istate);84 81 } 85 82 … … 99 96 decode_istate(istate); 100 97 panic("Unserviced interrupt: %d.", n); 101 }102 103 static void de_fault(int n, istate_t *istate)104 {105 fault_if_from_uspace(istate, "Divide error.");106 107 decode_istate(istate);108 panic("Divide error.");109 98 } 110 99 … … 226 215 } 227 216 228 exc_register(0, "de_fault", (iroutine) de_fault);229 217 exc_register(7, "nm_fault", (iroutine) nm_fault); 230 218 exc_register(12, "ss_fault", (iroutine) ss_fault);
Note:
See TracChangeset
for help on using the changeset viewer.