[OpenBIOS] Booting SunOS from OpenBIOS
atar4qemu at gmail.com
Wed Apr 3 09:02:37 CEST 2013
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:
>> 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, 220.127.116.11, 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?
linux/sparc and solaris/sparc under qemu blog:
More information about the OpenBIOS