Rev 2071 | Rev 2726 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2071 | Rev 2725 | ||
|---|---|---|---|
| Line 39... | Line 39... | ||
| 39 | 39 | ||
| 40 | /* |
40 | /* |
| 41 | * This is Ski-specific and certainly not sufficient |
41 | * This is Ski-specific and certainly not sufficient |
| 42 | * for real ia64 systems that provide memory map. |
42 | * for real ia64 systems that provide memory map. |
| 43 | */ |
43 | */ |
| - | 44 | #define MEMORY_SIZE (512 * 1024 * 1024) |
|
| 44 | #define ROM_BASE 0xa0000 |
45 | #define ROM_BASE 0xa0000 |
| 45 | #define ROM_SIZE (384*1024) |
46 | #define ROM_SIZE (384 * 1024) |
| 46 | 47 | ||
| 47 | void frame_arch_init(void) |
48 | void frame_arch_init(void) |
| 48 | { |
49 | { |
| 49 | zone_create(0, config.memory_size >> FRAME_WIDTH, 1, 0); |
50 | zone_create(0, SIZE2FRAMES(MEMORY_SIZE), 1, 0); |
| 50 | 51 | ||
| 51 | /* |
52 | /* |
| 52 | * Blacklist ROM regions. |
53 | * Blacklist ROM regions. |
| 53 | */ |
54 | */ |
| 54 | frame_mark_unavailable(ADDR2PFN(ROM_BASE), ROM_SIZE >> FRAME_WIDTH); |
55 | frame_mark_unavailable(ADDR2PFN(ROM_BASE), SIZE2FRAMES(ROM_SIZE)); |
| 55 | } |
56 | } |
| 56 | 57 | ||
| 57 | /** @} |
58 | /** @} |
| 58 | */ |
59 | */ |