Changeset f3277d49 in mainline
- Timestamp:
- 2009-11-27T19:10:50Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ad7c340
- Parents:
- cc0eb1d
- Location:
- kernel/arch/ppc32/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/mm/page.h
rcc0eb1d rf3277d49 131 131 #include <arch/interrupt.h> 132 132 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 133 144 static inline unsigned int get_pt_flags(pte_t *pt, size_t i) 134 145 { -
kernel/arch/ppc32/include/types.h
rcc0eb1d rf3277d49 82 82 #define PRIxn "x" 83 83 84 /** Page Table Entry. */85 typedef struct {86 unsigned present : 1; /**< Present bit. */87 unsigned page_write_through : 1; /**< Write thought caching. */88 unsigned page_cache_disable : 1; /**< No caching. */89 unsigned accessed : 1; /**< Accessed bit. */90 unsigned global : 1; /**< Global bit. */91 unsigned valid : 1; /**< Valid content even if not present. */92 unsigned pfn : 20; /**< Physical frame number. */93 } pte_t;94 95 84 #endif 96 85
Note:
See TracChangeset
for help on using the changeset viewer.