Changeset 4491338 in mainline
- Timestamp:
- 2009-12-13T20:01:38Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 47a350f
- Parents:
- 963dd91
- Location:
- kernel/arch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/interrupt.c
r963dd91 r4491338 98 98 } 99 99 100 static void de_fault(int n, istate_t *istate) 101 { 102 fault_if_from_uspace(istate, "Divide error."); 103 decode_istate(n, istate); 104 panic("Divide error."); 105 } 106 100 107 /** General Protection Fault. */ 101 108 static void gp_fault(int n, istate_t *istate) … … 200 207 } 201 208 209 exc_register(0, "de_fault", (iroutine) de_fault); 202 210 exc_register(7, "nm_fault", (iroutine) nm_fault); 203 211 exc_register(12, "ss_fault", (iroutine) ss_fault); -
kernel/arch/ia32/src/interrupt.c
r963dd91 r4491338 98 98 } 99 99 100 static void de_fault(int n, istate_t *istate) 101 { 102 fault_if_from_uspace(istate, "Divide error."); 103 104 decode_istate(istate); 105 panic("Divide error."); 106 } 107 100 108 /** General Protection Fault. */ 101 109 static void gp_fault(int n __attribute__((unused)), istate_t *istate) … … 215 223 } 216 224 225 exc_register(0, "de_fault", (iroutine) de_fault); 217 226 exc_register(7, "nm_fault", (iroutine) nm_fault); 218 227 exc_register(12, "ss_fault", (iroutine) ss_fault);
Note:
See TracChangeset
for help on using the changeset viewer.