Changeset e006ba5 in mainline
- Timestamp:
- 2013-06-07T19:22:19Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 59a72f8
- Parents:
- 3ee38a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/include/arch/mm/page_armv4.h
r3ee38a9 re006ba5 222 222 223 223 /* default access permission */ 224 p->access_permission_0 = p->access_permission_1 = 224 p->access_permission_0 = p->access_permission_1 = 225 225 p->access_permission_2 = p->access_permission_3 = 226 226 PTE_AP_USER_NO_KERNEL_RW; … … 228 228 if (flags & PAGE_USER) { 229 229 if (flags & PAGE_READ) { 230 p->access_permission_0 = p->access_permission_1 = 231 p->access_permission_2 = p->access_permission_3 = 230 p->access_permission_0 = p->access_permission_1 = 231 p->access_permission_2 = p->access_permission_3 = 232 232 PTE_AP_USER_RO_KERNEL_RW; 233 233 } 234 234 if (flags & PAGE_WRITE) { 235 p->access_permission_0 = p->access_permission_1 = 236 p->access_permission_2 = p->access_permission_3 = 237 PTE_AP_USER_RW_KERNEL_RW; 235 p->access_permission_0 = p->access_permission_1 = 236 p->access_permission_2 = p->access_permission_3 = 237 PTE_AP_USER_RW_KERNEL_RW; 238 238 } 239 239 }
Note:
See TracChangeset
for help on using the changeset viewer.