Re: ofwboot, why does it work?

Frank Wille <[email protected]> Thu, 18 Sep 2014 19:44:16 +0200
Newsgroups gmane.os.netbsd.ports.ofppc
Organization Privates Internet Ostwestfalen/Lippe e.V.
Message-ID <[email protected]>
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. :)

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

-- 
Frank Wille