[OpenBIOS] Booting SunOS from OpenBIOS
tarl-b2 at tarl.net
Tue Apr 2 23:43:17 CEST 2013
On 2013-Apr-2 17:37 , Artyom Tarasenko wrote:
>> >virt = ofmem_claim_virt(pointer2cell(va), size, align);
>> >Does that fix the bug for you?
> At least, it seems to die some instructions later, thanks! Will debug more.
> Does it mean that obp_memalloc is actually using the first argument
> just as a hint? As the OpenSolaris header suggests?
Per IEEE 1275, 18.104.22.168, the /claim/ method is supposed to entirely
ignore the virtual address if you provide an alignment. With a non-zero
alignment, it's supposed to allocate from a pool of its own address space.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenBIOS