Re: ofwboot, why does it work?
Artyom Tarasenko <[email protected]> Thu, 18 Sep 2014 22:24:32 +0200
| Newsgroups | gmane.os.netbsd.ports.ofppc |
|---|---|
| Message-ID | <CACXAS8AButzR7=eB05q3z1An706VjatcKN2Jr5vCX1V8jOVeQQ@mail.gmail.com> |
On Thu, Sep 18, 2014 at 7:44 PM, Frank Wille <[email protected]> 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