Rev 967 | Rev 1210 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 967 | Rev 1108 | ||
---|---|---|---|
Line 39... | Line 39... | ||
39 | #ifdef KERNEL |
39 | #ifdef KERNEL |
40 | 40 | ||
41 | /** Bit width of the TLB-locked portion of kernel address space. */ |
41 | /** Bit width of the TLB-locked portion of kernel address space. */ |
42 | #define KERNEL_PAGE_WIDTH 28 /* 256M */ |
42 | #define KERNEL_PAGE_WIDTH 28 /* 256M */ |
43 | 43 | ||
44 | #define SET_PTL0_ADDRESS_ARCH(x) /**< To be removed as situation permits. */ |
- | |
45 | - | ||
46 | #define PPN_SHIFT 12 |
44 | #define PPN_SHIFT 12 |
47 | 45 | ||
48 | #define VRN_SHIFT 61 |
46 | #define VRN_SHIFT 61 |
49 | #define VRN_MASK (7LL << VRN_SHIFT) |
47 | #define VRN_MASK (7LL << VRN_SHIFT) |
50 | #define VA2VRN(va) ((va)>>VRN_SHIFT) |
48 | #define VA2VRN(va) ((va)>>VRN_SHIFT) |