Changeset b80d132 in mainline for boot/arch/arm32/src/main.c
- Timestamp:
- 2013-01-23T20:48:23Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- df334ca
- Parents:
- bfb6576
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/src/main.c
rbfb6576 rb80d132 69 69 } 70 70 71 static inline void clean_dcache_po u(void *address, size_t size)71 static inline void clean_dcache_poc(void *address, size_t size) 72 72 { 73 73 const uintptr_t addr = (uintptr_t)address; 74 /* DCCMVA U - clean by address to the point of unification*/74 /* DCCMVAC - clean by address to the point of coherence */ 75 75 for (uintptr_t a = addr; a < addr + size; a += 4) { 76 asm volatile ("mcr p15, 0, %[a], c7, c1 1, 1\n" :: [a]"r"(a) : );76 asm volatile ("mcr p15, 0, %[a], c7, c10, 1\n" :: [a]"r"(a) : ); 77 77 } 78 78 } … … 148 148 halt(); 149 149 } 150 clean_dcache_po u(dest[i - 1], components[i - 1].inflated);150 clean_dcache_poc(dest[i - 1], components[i - 1].inflated); 151 151 } 152 152
Note:
See TracChangeset
for help on using the changeset viewer.