Changeset bfb6576 in mainline for boot/arch/arm32/src/mm.c
- Timestamp:
- 2013-01-23T00:12:15Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b80d132
- Parents:
- c19808fd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/src/mm.c
rc19808fd rbfb6576 59 59 const unsigned long address = section << PTE_SECTION_SHIFT; 60 60 if (address >= BBXM_RAM_START && address < BBXM_RAM_END) 61 return 0;61 return 1; 62 62 #endif 63 63 return 0; … … 133 133 "mcr p15, 0, r0, c3, c0, 0\n" 134 134 135 #ifdef PROCESSOR_ARCH_armv7_a136 /* armv7 no longer requires cache entries to be invalid137 * upon reset, do this manually */138 /* Invalidate ICache */139 "mcr p15, 0, r0, c7, c5, 6\n"140 //TODO: Invalidate data cache141 #endif142 143 135 /* Current settings */ 144 136 "mrc p15, 0, r0, c1, c0, 0\n" … … 151 143 * It's safe for gta02 too because we turn the caches off 152 144 * before switching to kernel. */ 153 "ldr r1, =0x0000180 5\n"145 "ldr r1, =0x00001801\n" 154 146 #elif defined(PROCESSOR_ARCH_armv7_a) | defined(PROCESSOR_ARCH_armv6) 155 147 /* Enable paging, data cache and branch prediction
Note:
See TracChangeset
for help on using the changeset viewer.