[LinuxBIOS] [v3][PATCH] stage0 and stage1 cleanup and improvements.

Stefan Reinauer stepan at coresystems.de
Thu Jul 19 23:57:00 CEST 2007

* ron minnich <rminnich at gmail.com> [070719 22:38]:
> So, here's a problem. XIP in LAR is problematic, because your location
> in lar affects the linking step.
> now what?

In favor of a good design we should have a defined API between stage0
and any other stages and set up a vector table with the addresses of
those functions.

When calling from outside of stage0 we have to go through that table

This is very little overhead and helps not blending stage0 and other
stages. It also makes us think about what we want to export from stage0.
I am sure we do not want/need to allow stageX to call anything in


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/

More information about the coreboot mailing list