Changeset 93d8022 in mainline for kernel/arch/arm32/include/arch/mm/page_armv6.h
- Timestamp:
- 2015-10-26T21:12:57Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5783d10
- Parents:
- 1a2a6e7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/arch/mm/page_armv6.h
r1a2a6e7 r93d8022 257 257 if (flags & PAGE_CACHEABLE) { 258 258 /* 259 * Write-through, write-allocate memory, see ch. B3.8.2 260 * (p. B3-1358) of ARM Architecture reference manual. 259 * Outer and inner write-back, write-allocate memory, 260 * see ch. B3.8.2 (p. B3-1358) of ARM Architecture reference 261 * manual. 262 * 261 263 * Make sure the memory type is correct, and in sync with: 262 264 * init_boot_pt (boot/arch/arm32/src/mm.c) … … 277 279 } 278 280 279 #if defined(PROCESSOR_ARCH_armv6)280 /* FIXME: this disables caches */281 p->shareable = 1;282 #else283 281 /* Shareable is ignored for devices (non-cacheable), 284 282 * turn it off for normal memory. */ 285 283 p->shareable = 0; 286 #endif287 284 288 285 p->non_global = !(flags & PAGE_GLOBAL);
Note:
See TracChangeset
for help on using the changeset viewer.