[OpenBIOS] Booting SunOS from OpenBIOS

Tarl Neustaedter tarl-b2 at tarl.net
Tue Apr 2 23:43:17 CEST 2013

On 2013-Apr-2 17:37 , Artyom Tarasenko wrote:
>> >to:
>> >
>> >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,, 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...
URL: <http://www.openbios.org/pipermail/openbios/attachments/20130402/0020e233/attachment.html>

More information about the OpenBIOS mailing list