Changeset f94b95b1 in mainline
- Timestamp:
- 2012-09-18T13:22:16Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4bd3f45
- Parents:
- 25d5c96
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/Makefile.inc
r25d5c96 rf94b95b1 49 49 BITS = 32 50 50 ENDIANESS = LE 51 EXTRA_CFLAGS = -march=$(subst _,-,$(PROCESSOR)) 51 EXTRA_CFLAGS = -march=$(subst _,-,$(PROCESSOR)) -mno-unaligned-access 52 52 53 53 ifeq ($(MACHINE), gta02) -
kernel/arch/arm32/Makefile.inc
r25d5c96 rf94b95b1 33 33 ATSIGN = % 34 34 35 GCC_CFLAGS += -fno-omit-frame-pointer -mapcs-frame -march=$(subst _,-,$(PROCESSOR)) 35 GCC_CFLAGS += -fno-omit-frame-pointer -mapcs-frame -march=$(subst _,-,$(PROCESSOR)) -mno-unaligned-access 36 36 37 37 BITS = 32 -
kernel/arch/arm32/src/cpu/cpu.c
r25d5c96 rf94b95b1 100 100 void cpu_arch_init(void) 101 101 { 102 #if defined(PROCESSOR_armv7_a) 102 #if defined(PROCESSOR_armv7_a) | defined(PROCESSOR_armv6) 103 103 uint32_t control_reg = 0; 104 104 asm volatile ( … … 110 110 control_reg &= ~CP15_R1_TRE_BIT; 111 111 /* Turn off accessed flag */ 112 control_reg &= ~(CP15_R1_AFE_BIT | CP15_R1_HA_ENABLE_BIT );112 control_reg &= ~(CP15_R1_AFE_BIT | CP15_R1_HA_ENABLE_BIT | CP15_R1_ALIGNMENT_ENABLE_BIT); 113 113 /* Enable caching */ 114 114 control_reg |= CP15_R1_CACHE_ENABLE_BIT; … … 122 122 123 123 /** Retrieves processor identification and stores it to #CPU.arch */ 124 void cpu_identify(void) 124 void cpu_identify(void) 125 125 { 126 126 arch_cpu_identify(&CPU->arch);
Note:
See TracChangeset
for help on using the changeset viewer.