Changeset b26396e in mainline for kernel/arch/arm32/src
- Timestamp:
- 2012-12-29T22:16:16Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 26e550c2
- Parents:
- ce60be1 (diff), b55877d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- kernel/arch/arm32/src
- Files:
-
- 1 deleted
- 4 edited
-
exception.c (modified) (2 diffs)
-
mach/gta02/gta02.c (modified) (1 diff)
-
mach/testarm/testarm.c (deleted)
-
machine_func.c (modified) (2 diffs)
-
ras.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/exception.c
rce60be1 rb26396e 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 -
kernel/arch/arm32/src/mach/gta02/gta02.c
rce60be1 rb26396e 27 27 */ 28 28 29 /** @addtogroup arm32g xemul29 /** @addtogroup arm32gta02 30 30 * @{ 31 31 */ -
kernel/arch/arm32/src/machine_func.c
rce60be1 rb26396e 41 41 #include <arch/mach/gta02/gta02.h> 42 42 #include <arch/mach/integratorcp/integratorcp.h> 43 #include <arch/mach/testarm/testarm.h>44 43 #include <arch/mach/beagleboardxm/beagleboardxm.h> 45 44 … … 52 51 #if defined(MACHINE_gta02) 53 52 machine_ops = >a02_machine_ops; 54 #elif defined(MACHINE_testarm)55 machine_ops = &gxemul_machine_ops;56 53 #elif defined(MACHINE_integratorcp) 57 54 machine_ops = &icp_machine_ops; -
kernel/arch/arm32/src/ras.c
rce60be1 rb26396e 67 67 void ras_check(unsigned int n, istate_t *istate) 68 68 { 69 bool restart = false; 69 bool restart_needed = false; 70 uintptr_t restart_pc = 0; 70 71 71 72 if (istate_from_uspace(istate)) { … … 73 74 if ((ras_page[RAS_START] < istate->pc) && 74 75 (ras_page[RAS_END] > istate->pc)) { 75 restart = true; 76 restart_needed = true; 77 restart_pc = ras_page[RAS_START]; 76 78 } 77 79 ras_page[RAS_START] = 0; … … 81 83 82 84 exc_dispatch(n, istate); 83 if (restart )84 istate->pc = r as_page[RAS_START];85 if (restart_needed) 86 istate->pc = restart_pc; 85 87 } 86 88
Note:
See TracChangeset
for help on using the changeset viewer.
