/kernel/trunk/arch/ia64/_link.ld.in |
---|
11,7 → 11,7 |
ENTRY(kernel_image_start) |
SECTIONS { |
.image 0x0000000000001000: AT (0x0000000000001000) { |
.image 0x0000000000100000: AT (0x0000000000100000) { |
ktext_start = .; |
*(K_TEXT_START); |
*(.text) |
37,6 → 37,6 |
_hardcoded_ktext_size = ktext_end - ktext_start; |
_hardcoded_kdata_size = kdata_end - kdata_start; |
_hardcoded_load_address = 0x0000000000001000; |
_hardcoded_load_address = 0x0000000000100000; |
} |
/kernel/trunk/arch/ia64/src/mm/frame.c |
---|
41,6 → 41,13 |
void frame_arch_init(void) |
{ |
/* |
* Workaround to prevent slab allocator from allocating frame 0. |
* Remove the following statement when the kernel is no longer |
* identity mapped. |
*/ |
frame_region_not_free(0, FRAME_SIZE); |
/* |
* Blacklist ROM regions. |
*/ |
frame_region_not_free(ROM_BASE, ROM_SIZE); |