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