45,8 → 45,6 |
/** Create memory zones according to information stored in bootinfo. |
* |
* Walk the bootinfo memory map and create frame zones according to it. |
* The first frame is not blacklisted here as it is done in generic |
* frame_init(). |
*/ |
void frame_arch_init(void) |
{ |
69,7 → 67,6 |
zone_create(ADDR2PFN(start), SIZE2FRAMES(ALIGN_DOWN(size, FRAME_SIZE)), confdata, 0); |
last_frame = max(last_frame, start + ALIGN_UP(size, FRAME_SIZE)); |
} |
} |
|
/* |
* On sparc64, physical memory can start on a non-zero address. |
80,5 → 77,7 |
frame_mark_unavailable(ADDR2PFN(KA2PA(PFN2ADDR(0))), 1); |
} |
|
} |
|
/** @} |
*/ |