Rev 1411 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1411 | Rev 1423 | ||
---|---|---|---|
Line 101... | Line 101... | ||
101 | #define SET_FRAME_FLAGS_ARCH(ptl3, i, x) set_pt_flags((pte_t *)(ptl3), (index_t)(i), (x)) |
101 | #define SET_FRAME_FLAGS_ARCH(ptl3, i, x) set_pt_flags((pte_t *)(ptl3), (index_t)(i), (x)) |
102 | 102 | ||
103 | #define PTE_VALID_ARCH(p) (*((__u64 *) (p)) != 0) |
103 | #define PTE_VALID_ARCH(p) (*((__u64 *) (p)) != 0) |
104 | #define PTE_PRESENT_ARCH(p) ((p)->present != 0) |
104 | #define PTE_PRESENT_ARCH(p) ((p)->present != 0) |
105 | #define PTE_GET_FRAME_ARCH(p) ((((__address)(p)->addr_12_31)<<12) | ((__address)(p)->addr_32_51<<32)) |
105 | #define PTE_GET_FRAME_ARCH(p) ((((__address)(p)->addr_12_31)<<12) | ((__address)(p)->addr_32_51<<32)) |
- | 106 | #define PTE_WRITABLE_ARCH(p) ((p)->writeable != 0) |
|
- | 107 | #define PTE_EXECUTABLE_ARCH(p) ((p)->no_execute == 0) |
|
106 | 108 | ||
107 | #ifndef __ASM__ |
109 | #ifndef __ASM__ |
108 | 110 | ||
109 | /* Page fault error codes. */ |
111 | /* Page fault error codes. */ |
110 | 112 |