Changeset 1c7a170 in mainline for kernel/arch/ppc32/include/arch/mm/page.h
- Timestamp:
- 2018-03-27T16:49:29Z (7 years ago)
- Parents:
- f303afc6 (diff), 94d211e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-27 16:49:29)
- git-committer:
- GitHub <noreply@…> (2018-03-27 16:49:29)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/arch/mm/page.h
rf303afc6 r1c7a170 111 111 112 112 #define GET_PTL2_FLAGS_ARCH(ptl1, i) \ 113 PAGE_ PRESENT113 PAGE_NEXT_LEVEL_PT 114 114 115 115 #define GET_PTL3_FLAGS_ARCH(ptl2, i) \ 116 PAGE_ PRESENT116 PAGE_NEXT_LEVEL_PT 117 117 118 118 #define GET_FRAME_FLAGS_ARCH(ptl3, i) \ … … 143 143 #define PTE_PRESENT_ARCH(pte) ((pte)->present != 0) 144 144 #define PTE_GET_FRAME_ARCH(pte) ((pte)->pfn << 12) 145 #define PTE_READABLE_ARCH(pte) 1 145 146 #define PTE_WRITABLE_ARCH(pte) 1 146 147 #define PTE_EXECUTABLE_ARCH(pte) 1 … … 167 168 168 169 return (((!entry->page_cache_disable) << PAGE_CACHEABLE_SHIFT) | 169 ((!entry->present) << PAGE_ PRESENT_SHIFT) |170 ((!entry->present) << PAGE_NOT_PRESENT_SHIFT) | 170 171 (1 << PAGE_USER_SHIFT) | 171 172 (1 << PAGE_READ_SHIFT) |
Note:
See TracChangeset
for help on using the changeset viewer.