Rev 2236 | Rev 2241 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2236 | Rev 2239 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | # define KA2PA(x) ((x) - 0x80000000) |
54 | # define KA2PA(x) ((x) - 0x80000000) |
55 | # define PA2KA(x) ((x) + 0x80000000) |
55 | # define PA2KA(x) ((x) + 0x80000000) |
56 | #endif |
56 | #endif |
57 | 57 | ||
58 | /** Number of entries in PTL0 */ |
58 | /** Number of entries in PTL0 */ |
59 | #define PTL0_ENTRIES_ARCH (2<<12) /* 4096 */ |
59 | #define PTL0_ENTRIES_ARCH (1<<12) /* 4096 */ |
60 | 60 | ||
61 | /** Frames per 1MB section */ |
61 | /** Frames per 1MB section */ |
62 | #define FRAMES_PER_SECTION ( ( 1 << 20 ) / FRAME_SIZE ) |
62 | #define FRAMES_PER_SECTION ( ( 1 << 20 ) / FRAME_SIZE ) |
63 | 63 | ||
64 | /** Converts adress to frame number */ |
64 | /** Converts adress to frame number */ |