Rev 849 | Rev 958 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 849 | Rev 852 | ||
---|---|---|---|
Line 72... | Line 72... | ||
72 | __u32 value; |
72 | __u32 value; |
73 | }; |
73 | }; |
74 | 74 | ||
75 | /** Page Table Entry. */ |
75 | /** Page Table Entry. */ |
76 | struct pte { |
76 | struct pte { |
77 | #ifdef BIG_ENDIAN |
- | |
78 | unsigned a : 1; /**< Accessed bit. */ |
- | |
79 | unsigned w : 1; /**< Page writable bit. */ |
- | |
80 | unsigned pfn : 24; /**< Physical frame number. */ |
- | |
81 | unsigned soft_valid : 1; /**< Valid content even if not present. */ |
- | |
82 | unsigned : 1; /**< Unused. */ |
- | |
83 | unsigned cacheable : 1; /**< Cacheable bit. */ |
- | |
84 | unsigned d : 1; /**< Dirty bit. */ |
- | |
85 | unsigned p : 1; /**< Present bit. */ |
- | |
86 | unsigned g : 1; /**< Global bit. */ |
- | |
87 | #else |
- | |
88 | unsigned g : 1; /**< Global bit. */ |
77 | unsigned g : 1; /**< Global bit. */ |
89 | unsigned p : 1; /**< Present bit. */ |
78 | unsigned p : 1; /**< Present bit. */ |
90 | unsigned d : 1; /**< Dirty bit. */ |
79 | unsigned d : 1; /**< Dirty bit. */ |
91 | unsigned cacheable : 1; /**< Cacheable bit. */ |
80 | unsigned cacheable : 1; /**< Cacheable bit. */ |
92 | unsigned : 1; /**< Unused. */ |
81 | unsigned : 1; /**< Unused. */ |
93 | unsigned soft_valid : 1; /**< Valid content even if not present. */ |
82 | unsigned soft_valid : 1; /**< Valid content even if not present. */ |
94 | unsigned pfn : 24; /**< Physical frame number. */ |
83 | unsigned pfn : 24; /**< Physical frame number. */ |
95 | unsigned w : 1; /**< Page writable bit. */ |
84 | unsigned w : 1; /**< Page writable bit. */ |
96 | unsigned a : 1; /**< Accessed bit. */ |
85 | unsigned a : 1; /**< Accessed bit. */ |
97 | #endif |
- | |
98 | }; |
86 | }; |
99 | 87 | ||
100 | union entry_hi { |
88 | union entry_hi { |
101 | struct { |
89 | struct { |
102 | #ifdef BIG_ENDIAN |
90 | #ifdef BIG_ENDIAN |