Changeset db4d6de in mainline for kernel/arch/ppc32/include/mm/page.h
- Timestamp:
- 2009-11-28T16:30:43Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c4702804
- Parents:
- ba8f8cb (diff), 67392fa (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/mm/page.h
rba8f8cb rdb4d6de 131 131 #include <arch/interrupt.h> 132 132 133 static inline int get_pt_flags(pte_t *pt, size_t i) 133 /** Page Table Entry. */ 134 typedef struct { 135 unsigned present : 1; /**< Present bit. */ 136 unsigned page_write_through : 1; /**< Write thought caching. */ 137 unsigned page_cache_disable : 1; /**< No caching. */ 138 unsigned accessed : 1; /**< Accessed bit. */ 139 unsigned global : 1; /**< Global bit. */ 140 unsigned valid : 1; /**< Valid content even if not present. */ 141 unsigned pfn : 20; /**< Physical frame number. */ 142 } pte_t; 143 144 static inline unsigned int get_pt_flags(pte_t *pt, size_t i) 134 145 { 135 146 pte_t *p = &pt[i];
Note:
See TracChangeset
for help on using the changeset viewer.