Rev 1108 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1108 | Rev 1210 | ||
---|---|---|---|
Line 58... | Line 58... | ||
58 | #define KA2PA(x) ((__address) (x-(VRN_KERNEL<<VRN_SHIFT))) |
58 | #define KA2PA(x) ((__address) (x-(VRN_KERNEL<<VRN_SHIFT))) |
59 | #define PA2KA(x) ((__address) (x+(VRN_KERNEL<<VRN_SHIFT))) |
59 | #define PA2KA(x) ((__address) (x+(VRN_KERNEL<<VRN_SHIFT))) |
60 | 60 | ||
61 | #define VHPT_WIDTH 20 /* 1M */ |
61 | #define VHPT_WIDTH 20 /* 1M */ |
62 | #define VHPT_SIZE (1 << VHPT_WIDTH) |
62 | #define VHPT_SIZE (1 << VHPT_WIDTH) |
63 | #define VHPT_BASE 0 /* Must be aligned to VHPT_SIZE */ |
- | |
64 | 63 | ||
65 | #define PTA_BASE_SHIFT 15 |
64 | #define PTA_BASE_SHIFT 15 |
66 | 65 | ||
67 | /** Memory Attributes. */ |
66 | /** Memory Attributes. */ |
68 | #define MA_WRITEBACK 0x0 |
67 | #define MA_WRITEBACK 0x0 |