[coreboot] v3 challenge: global variables

Stefan Reinauer stepan at coresystems.de
Mon Feb 4 17:49:20 CET 2008

* Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net> [080204 17:42]:
> It's not that easy. I need the location of the buffer and the current
> offset inside the buffer. The one global variable would have pointed to
> a struct containing all that info.
You want that pointer persistant anyways, because you will likely have
to pass it to linux, too. So why not have the first 4 byte of the buffer
as "buffer pointer"?


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

More information about the coreboot mailing list