Hello all,
I'm not sure if anyone here has any experience with Open Firmware or PowerPC systems that use it,
but I'm currently attempting to get my second-stage bootloader prototype written on said platform.
My problem is that Open Firmware running in virtual mode (allowing my OS to do its memory management)
requires that I define some helper callbacks (map-in being the one I'm worried about). The standard
states that this callback requests a specific physical page to be mapped into a virtual address in
open firmware's address space. The problem with that is that it doesn't define a physical region that
this request will be from. I really, really do not want to have to use a bitmap for all memory, but if
this callback really can request a page from anywhere in physical memory, I'm going to have to.
Does anyone know any more about this that can shed some light on a solution?
Thanks in advance,
Yoshi