Bounce buffers and stack

steven james pyro at linuxlabs.com
Fri May 2 17:10:01 CEST 2003


Greetings,

I'm not sure how that would work?!? The problem only happens when the
first payload doesn't conflict with anything and the second one conflicts
with the LinuxBIOS stack. By that time, the only thing the running code
knows is where ESP was when it started (but not where the top of the stack
is).

I did a test in bootselect where I just move the stack then. That plus a
quick hack to the elf loader (the private copy in baremetal) to allocate
the bounce buffer below the stack helps a lot.

G'day,
sjames

On Fri, 2 May 2003, ron minnich wrote:

> What if there were and elf section for the stack? then elfboot would know 
> to avoid that too.
> 
> ron
> 

-- 
-------------------------steven james, director of research, linux labs
... ........ ..... ....                    230 peachtree st nw ste 2701
the original linux labs                             atlanta.ga.us 30303
      -since 1995                              http://www.linuxlabs.com
                                   office 404.577.7747 fax 404.577.7743
-----------------------------------------------------------------------





More information about the coreboot mailing list