Changeset f9f758e in mainline for boot/arch/arm32/src/mm.c
- Timestamp:
- 2013-08-05T22:09:36Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e13ba75
- Parents:
- 8abcf4e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/src/mm.c
r8abcf4e rf9f758e 136 136 { 137 137 pte->descriptor_type = PTE_DESCRIPTOR_SECTION; 138 pte->bufferable = 1;139 pte->cacheable = section_cacheable(frame);140 138 pte->xn = 0; 141 139 pte->domain = 0; 142 140 pte->should_be_zero_1 = 0; 143 141 pte->access_permission_0 = PTE_AP_USER_NO_KERNEL_RW; 142 #ifdef PROCESSOR_ARCH_armv7_a 143 //TODO: Use write-back write-allocate caches 144 pte->tex = section_cacheable(frame) ? 6 : 0; 145 pte->bufferable = section_cacheable(frame) ? 0 : 0; 146 pte->cacheable = section_cacheable(frame) ? 1 : 0; 147 #else 148 pte->bufferable = 1; 149 pte->cacheable = section_cacheable(frame); 144 150 pte->tex = 0; 151 #endif 145 152 pte->access_permission_1 = 0; 146 153 pte->shareable = 0;
Note:
See TracChangeset
for help on using the changeset viewer.