[coreboot] v3 challenge: global variables

Stefan Reinauer stepan at coresystems.de
Mon Feb 4 17:22:24 CET 2008


ron minnich wrote:
> So, this is an example of the reason for the (void *) param I was
> suggesting some time back. Such needs come up.
>
> One option is to have a convention that globals are at the base of the
> stack, rounded to 64k.
>
> e.g. %esp & 0xffff0000 is where globals live.
>
>   
Let's just put the buffer to a well known address.
We're trying to add a flexibility here that is just ballast.

The buffer might need to change its position, ie when we are going from 
CAR to real RAM. Who knows.
But other than that...

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080204/449823e8/attachment.sig>


More information about the coreboot mailing list