Changeset 1a3a632 in mainline
- Timestamp:
- 2013-01-01T11:48:19Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0acd339
- Parents:
- 4a46ccc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/src/mm.c
r4a46ccc r1a3a632 142 142 "mrc p15, 0, r0, c1, c0, 0\n" 143 143 144 #if def PROCESSOR_cortex_a8144 #if defined(PROCESSOR_cortex_a8) | defined(MACHINE_gta02) 145 145 /* Mask to enable paging, I-cache D-cache and branch predict 146 146 * See kernel/arch/arm32/include/regutils.h for bit values. 147 147 * It's safe because Cortex-A8 implements IVIPT extension 148 * See Cortex-A8 TRM ch. 7.2.6 p. 7-4 (PDF 245) */ 148 * See Cortex-A8 TRM ch. 7.2.6 p. 7-4 (PDF 245). 149 * It's safe for gta02 too because we turn the caches off 150 * before switching to kernel. */ 149 151 "ldr r1, =0x00001805\n" 150 152 #elif defined(PROCESSOR_ARCH_armv7_a) | defined(PROCESSOR_ARCH_armv6) … … 152 154 * see arch/arm32/src/cpu/cpu.c for reasoning */ 153 155 "ldr r1, =0x00000805\n" 154 #elif defined(MACHINE_gta02)155 /* Mask to enable paging (bit 0),156 D-cache (bit 2), I-cache (bit 12) */157 "ldr r1, =0x00001005\n"158 156 #else 159 157 /* Mask to enable paging and branch prediction */
Note:
See TracChangeset
for help on using the changeset viewer.