Changeset 957ce9a5 in mainline for kernel/arch/arm32/src/exception.c
- Timestamp:
- 2012-11-24T23:22:33Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e5c8bc6
- Parents:
- 65871bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/exception.c
r65871bb r957ce9a5 161 161 } 162 162 163 /** Undefined instruction exception handler. 164 * 165 * Calls scheduler_fpu_lazy_request 166 */ 167 static void undef_insn_exception(unsigned int exc_no, istate_t *istate) 168 { 169 #ifdef CONFIG_FPU_LAZY 170 scheduler_fpu_lazy_request(); 171 #else 172 fault_if_from_uspace(istate, "Undefined instruction."); 173 panic_badtrap(istate, exc_no, "Undefined instruction."); 174 #endif 175 } 176 163 177 /** Initializes exception handling. 164 178 * … … 174 188 install_exception_handlers(); 175 189 190 exc_register(EXC_UNDEF_INSTR, "undefined instruction", true, 191 (iroutine_t) undef_insn_exception); 176 192 exc_register(EXC_IRQ, "interrupt", true, 177 193 (iroutine_t) irq_exception);
Note:
See TracChangeset
for help on using the changeset viewer.