[OpenBIOS] Booting SunOS from OpenBIOS

Artyom Tarasenko atar4qemu at gmail.com
Wed Apr 3 09:02:37 CEST 2013

Hi Tarl,

On Tue, Apr 2, 2013 at 11:43 PM, Tarl Neustaedter <tarl-b2 at tarl.net> wrote:
> 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.

Thanks, this is a good starting point. Can you give some comments to an
OpenSolaris comment below?

 * resource allocation group: OBP and IEEE 1275-1994.
 * prom_alloc is platform dependent on SPARC.

What is exactly platform dependent?


Artyom Tarasenko

linux/sparc and solaris/sparc under qemu blog:

More information about the OpenBIOS mailing list