Rev 3403 | Rev 4338 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3403 | Rev 3588 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | #ifdef KERNEL |
44 | #ifdef KERNEL |
45 | 45 | ||
46 | /** Bit width of the TLB-locked portion of kernel address space. */ |
46 | /** Bit width of the TLB-locked portion of kernel address space. */ |
47 | #define KERNEL_PAGE_WIDTH 28 /* 256M */ |
47 | #define KERNEL_PAGE_WIDTH 28 /* 256M */ |
48 | #define IO_PAGE_WIDTH 26 /* 64M */ |
48 | #define IO_PAGE_WIDTH 26 /* 64M */ |
- | 49 | #define FW_PAGE_WIDTH 28 /* 256M */ |
|
- | 50 | ||
- | 51 | /** Staticly mapped IO spaces */ |
|
- | 52 | ||
- | 53 | /* Firmware area (bellow 4GB in phys mem) */ |
|
- | 54 | #define FW_OFFSET 0x00000000F0000000 |
|
- | 55 | /* Legacy IO space */ |
|
- | 56 | #define IO_OFFSET 0x0001000000000000 |
|
- | 57 | /* Videoram - now mapped to 0 as VGA text mode vram on 0xb8000*/ |
|
- | 58 | #define VIO_OFFSET 0x0002000000000000 |
|
- | 59 | ||
- | 60 | ||
49 | 61 | ||
50 | 62 | ||
51 | #define PPN_SHIFT 12 |
63 | #define PPN_SHIFT 12 |
52 | 64 | ||
53 | #define VRN_SHIFT 61 |
65 | #define VRN_SHIFT 61 |