Rev 977 | Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 977 | Rev 1108 | ||
|---|---|---|---|
| Line 41... | Line 41... | ||
| 41 | #include <genarch/mm/page_ht.h> |
41 | #include <genarch/mm/page_ht.h> |
| 42 | 42 | ||
| 43 | #define KA2PA(x) ((__address) (x)) |
43 | #define KA2PA(x) ((__address) (x)) |
| 44 | #define PA2KA(x) ((__address) (x)) |
44 | #define PA2KA(x) ((__address) (x)) |
| 45 | 45 | ||
| 46 | #define SET_PTL0_ADDRESS_ARCH(x) /**< To be removed as situation permits. */ |
- | |
| 47 | - | ||
| 48 | union page_address { |
46 | union page_address { |
| 49 | __address address; |
47 | __address address; |
| 50 | struct { |
48 | struct { |
| 51 | __u64 vpn : 51; /**< Virtual Page Number. */ |
49 | __u64 vpn : 51; /**< Virtual Page Number. */ |
| 52 | unsigned offset : 13; /**< Offset. */ |
50 | unsigned offset : 13; /**< Offset. */ |