Changeset 5481a22e in mainline
- Timestamp:
- 2012-12-02T21:54:57Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f9ab562
- Parents:
- e1326cf
- Location:
- kernel/arch/arm32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/Makefile.inc
re1326cf r5481a22e 52 52 arch/$(KARCH)/src/machine_func.c \ 53 53 arch/$(KARCH)/src/context.S \ 54 arch/$(KARCH)/src/fpu_context.c \55 54 arch/$(KARCH)/src/dummy.S \ 56 55 arch/$(KARCH)/src/cpu/cpu.c \ … … 68 67 arch/$(KARCH)/src/mm/page_fault.c \ 69 68 arch/$(KARCH)/src/ras.c 69 70 ifeq ($(CONFIG_FPU),y) 71 ARCH_SOURCES += arch/$(KARCH)/src/fpu_context.c 72 endif 70 73 71 74 ifeq ($(MACHINE),gta02) -
kernel/arch/arm32/src/exception.c
re1326cf r5481a22e 167 167 static void undef_insn_exception(unsigned int exc_no, istate_t *istate) 168 168 { 169 if (!handle_if_fpu_exception()) { 170 fault_if_from_uspace(istate, "Undefined instruction."); 171 panic_badtrap(istate, exc_no, "Undefined instruction."); 172 } else { 169 #ifdef CONFIG_FPU 170 if (handle_if_fpu_exception()) { 173 171 /* 174 172 * Retry the failing instruction, … … 177 175 */ 178 176 istate->pc -= 4; 177 return; 179 178 } 179 #endif 180 fault_if_from_uspace(istate, "Undefined instruction."); 181 panic_badtrap(istate, exc_no, "Undefined instruction."); 180 182 } 181 183
Note:
See TracChangeset
for help on using the changeset viewer.