Port-ofppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ofwboot, why does it work?



On Thu, Sep 18, 2014 at 7:44 PM, Frank Wille <frank%phoenix.owl.de@localhost> 
wrote:
> Artyom Tarasenko wrote:
>
>> Before applying the fix, can you please add
>>
>> printf("OF_open at %p, buf at %p\n",(void*) OF_open,(void *)buf);
>>
>> to devopen, and tell me what it says with the original 8K stack?
>
> "OF_open at 0x20254, buf at 0x1fd5c"
>
> So I was right. I am just lucky. :)

Not just you. :-) But I thought IBM Firmware was based on the
FirmWorks firmware, so it should have exposed the bug...

> Usually only a single block with 512 bytes is read into 'buf', so it uses
> the memory region only up to 0x1ff5c.

What is the advantage of using a larger 'buf', btw?

-- 
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu


Home | Main Index | Thread Index | Old Index