Changeset 2a77eaa2 in mainline
- Timestamp:
- 2013-01-01T18:17:05Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f65b8e0c
- Parents:
- e55fcd2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/src/mm.c
re55fcd2 r2a77eaa2 134 134 135 135 #ifdef PROCESSOR_ARCH_armv7_a 136 /* Read Auxiliary control register */ 137 "mrc p15, 0, r0, c1, c0, 1\n" 138 /* Mask to enable L2 cache */ 139 "ldr r1, =0x00000002\n" 140 "orr r0, r0, r1\n" 141 /* Store Auxiliary control register */ 142 "mrc p15, 0, r0, c1, c0, 1\n" 136 /* armv7 no longer requires cache entries to be invalid 137 * upon reset, do this manually */ 138 /* Invalidate ICache */ 139 "mcr p15, 0, r0, c7, c5, 6\n" 140 //TODO: Invalidate data cache 143 141 #endif 142 144 143 /* Current settings */ 145 144 "mrc p15, 0, r0, c1, c0, 0\n"
Note:
See TracChangeset
for help on using the changeset viewer.