Changeset 186b919 in mainline
- Timestamp:
- 2013-08-04T10:30:54Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8abcf4e
- Parents:
- 67d02bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/arch/mm/page_armv6.h
r67d02bb r186b919 233 233 p->descriptor_type = PTE_DESCRIPTOR_SMALL_PAGE_NX; 234 234 } 235 236 /* tex=0 buf=1 and cache=1 => normal memory237 * tex=0 buf=1 and cache=0 => shareable device mmio238 */239 235 240 236 if (flags & PAGE_CACHEABLE) { 237 /* 238 * Write-back, write-allocate memory, see ch. B3.8.2 239 * (p. B3-1358) of ARM Architecture reference manual. 240 */ 241 241 p->tex = 1; 242 242 p->cacheable = 1; 243 p->bufferable = 1; 243 244 } else { 245 /* 246 * Shareable device memory, see ch. B3.8.2 (p. B3-1358) of 247 * ARM Architecture reference manual. 248 */ 244 249 p->tex = 0; 245 250 p->cacheable = 0; 251 p->bufferable = 1; 246 252 } 247 p->bufferable = 1;248 253 249 254 /* Shareable is ignored for devices (non-cacheable), 250 * turn it o nfor normal memory. */255 * turn it off for normal memory. */ 251 256 p->shareable = 0; 252 257
Note:
See TracChangeset
for help on using the changeset viewer.