Rev 600 | Rev 849 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 600 | Rev 831 | ||
|---|---|---|---|
| Line 61... | Line 61... | ||
| 61 | unsigned : 2; /* zero */ |
61 | unsigned : 2; /* zero */ |
| 62 | } __attribute__ ((packed)); |
62 | } __attribute__ ((packed)); |
| 63 | __u32 value; |
63 | __u32 value; |
| 64 | }; |
64 | }; |
| 65 | 65 | ||
| 66 | union pte { |
- | |
| 67 | entry_lo_t lo; |
66 | /** Page Table Entry. */ |
| 68 | struct { |
67 | struct pte { |
| 69 | unsigned : 30; |
68 | unsigned g : 1; /**< Global bit. */ |
| - | 69 | unsigned p : 1; /**< Present bit. */ |
|
| 70 | unsigned w : 1; /* writable */ |
70 | unsigned d : 1; /**< Dirty bit. */ |
| - | 71 | unsigned cacheable : 1; /**< Cacheable bit. */ |
|
| 71 | unsigned a : 1; /* accessed */ |
72 | unsigned : 1; /**< Unused. */ |
| - | 73 | unsigned soft_valid : 1; /**< Valid content even if not present. */ |
|
| - | 74 | unsigned pfn : 24; /**< Physical frame number. */ |
|
| - | 75 | unsigned w : 1; /**< Page writable bit. */ |
|
| 72 | } __attribute__ ((packed)); |
76 | unsigned a : 1; /**< Accessed bit. */ |
| 73 | }; |
77 | }; |
| 74 | 78 | ||
| 75 | union entry_hi { |
79 | union entry_hi { |
| 76 | struct { |
80 | struct { |
| 77 | unsigned asid : 8; |
81 | unsigned asid : 8; |