[OpenBIOS] Booting SunOS from OpenBIOS
mark.cave-ayland at ilande.co.uk
Wed Apr 3 14:34:25 CEST 2013
On 03/04/13 13:14, Mark Cave-Ayland wrote:
> Very interesting. That could actually be right for two reasons:
> 1. 0x1000 is a multiple of page size
> 2. If you're not checking the return result, then what is the sense in
> requesting the same allocation (va = 0) twice?
> So yes, I'd definitely try adding some test code to check if va == 0,
> and if so, set align = size before calling ofmem_claim_virt().
Trivial patch attached - a quick test shows that it still boots my
Solaris 8 CD here.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 662 bytes
Desc: not available
More information about the OpenBIOS