Rev 765 | Rev 977 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 765 | Rev 792 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | #define KA2PA(x) ((__address) (x)) |
39 | #define KA2PA(x) ((__address) (x)) |
40 | #define PA2KA(x) ((__address) (x)) |
40 | #define PA2KA(x) ((__address) (x)) |
41 | 41 | ||
42 | #define SET_PTL0_ADDRESS_ARCH(x) /**< To be removed as situation permits. */ |
42 | #define SET_PTL0_ADDRESS_ARCH(x) /**< To be removed as situation permits. */ |
43 | 43 | ||
44 | /** Implementation of page hash table interface. */ |
- | |
45 | #define HT_WIDTH_ARCH 20 /* 1M */ |
- | |
46 | #define HT_HASH_ARCH(page, asid) 0 |
- | |
47 | #define HT_COMPARE_ARCH(page, asid, t) 0 |
- | |
48 | #define HT_SLOT_EMPTY_ARCH(t) 1 |
- | |
49 | #define HT_INVALIDATE_SLOT_ARCH(t) |
- | |
50 | #define HT_GET_NEXT_ARCH(t) 0 |
- | |
51 | #define HT_SET_NEXT_ARCH(t, s) |
- | |
52 | #define HT_SET_RECORD_ARCH(t, page, asid, frame, flags) |
- | |
53 | - | ||
54 | union page_address { |
44 | union page_address { |
55 | __address address; |
45 | __address address; |
56 | struct { |
46 | struct { |
57 | __u64 vpn : 51; /**< Virtual Page Number. */ |
47 | __u64 vpn : 51; /**< Virtual Page Number. */ |
58 | unsigned offset : 13; /**< Offset. */ |
48 | unsigned offset : 13; /**< Offset. */ |