Rev 967 | Rev 1063 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 967 | Rev 977 | ||
---|---|---|---|
Line 79... | Line 79... | ||
79 | #define SET_PTL2_FLAGS_ARCH(ptl1, i, x) set_pt_flags((pte_t *)(ptl1), (index_t)(i), (x)) |
79 | #define SET_PTL2_FLAGS_ARCH(ptl1, i, x) set_pt_flags((pte_t *)(ptl1), (index_t)(i), (x)) |
80 | #define SET_PTL3_FLAGS_ARCH(ptl2, i, x) set_pt_flags((pte_t *)(ptl2), (index_t)(i), (x)) |
80 | #define SET_PTL3_FLAGS_ARCH(ptl2, i, x) set_pt_flags((pte_t *)(ptl2), (index_t)(i), (x)) |
81 | #define SET_FRAME_FLAGS_ARCH(ptl3, i, x) set_pt_flags((pte_t *)(ptl3), (index_t)(i), (x)) |
81 | #define SET_FRAME_FLAGS_ARCH(ptl3, i, x) set_pt_flags((pte_t *)(ptl3), (index_t)(i), (x)) |
82 | 82 | ||
83 | #define PTE_VALID_ARCH(p) (*((__u64 *) (p)) != 0) |
83 | #define PTE_VALID_ARCH(p) (*((__u64 *) (p)) != 0) |
- | 84 | #define PTE_PRESENT_ARCH(p) ((p)->present != 0) |
|
- | 85 | #define PTE_GET_FRAME_ARCH(p) ((((__address)(p)->addr_12_31)<<12) | ((__address)(p)->addr_32_51<<32)) |
|
84 | 86 | ||
85 | #ifndef __ASM__ |
87 | #ifndef __ASM__ |
86 | 88 | ||
87 | /** Page Table Entry. */ |
89 | /** Page Table Entry. */ |
88 | struct page_specifier { |
90 | struct page_specifier { |