I'm currently porting OpenSolaris to the IBM zSeries. For both Sparc and x86 targets there appears to be some smarts in the PROM to do a number of functions that are got at via bop_xxxx (or bsys_xxxx) APIs. The one I'm particularly interested in is bop_alloc() although I think I'll need to understand bop_alloc_virt() and bop_free() as well.
bop_alloc() appears to allocate pages from the top of memory. I just need to understand what it does, how it does it, and what it is returning (it appears you can pass it an address so what is it returning). zSeries of course has no such PROM support so I'm wondering the best way to emulate these routines. Some of the comments seem to indicate that the stuff it returns is a virtual address so I'm pretty confused at the moment. Neale Ferguson This message posted from opensolaris.org _______________________________________________ opensolaris-code mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
