Rev 2089 | Rev 3233 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2089 | Rev 2726 | ||
---|---|---|---|
Line 45... | Line 45... | ||
45 | 45 | ||
46 | #ifdef KERNEL |
46 | #ifdef KERNEL |
47 | 47 | ||
48 | /** Bit width of the TLB-locked portion of kernel address space. */ |
48 | /** Bit width of the TLB-locked portion of kernel address space. */ |
49 | #define KERNEL_PAGE_WIDTH 28 /* 256M */ |
49 | #define KERNEL_PAGE_WIDTH 28 /* 256M */ |
- | 50 | #define IO_PAGE_WIDTH 26 /* 64M */ |
|
- | 51 | ||
50 | 52 | ||
51 | #define PPN_SHIFT 12 |
53 | #define PPN_SHIFT 12 |
52 | 54 | ||
53 | #define VRN_SHIFT 61 |
55 | #define VRN_SHIFT 61 |
54 | #define VRN_MASK (7LL << VRN_SHIFT) |
56 | #define VRN_MASK (7LL << VRN_SHIFT) |