[LinuxBIOS] [v3][PATCH] have a static initram improvements.

ron minnich rminnich at gmail.com
Fri Jul 20 18:18:53 CEST 2007


Hey, btw, I realized a way to do the vector table that might work well
over time. I think I mentioned this before, but I'll mention it again.

Rather than have LB define the vector table in a mainboard-independent
way, which will get harder as we add more mainboards, have the
MAINBOARD code define its own vector table. That way, mainboards can
add/change vector table elements as needed and not affect any other
mainboard.

Then, one step further: create a LAR file that is the symbol table for
stage 0/1 that has been burned into FLASH. The mainboard has its
vector table, and this links against the symbols in the lar file. That
way, if you ONLY have a copy of the bios, and you need to create a new
stage 2, the path is open to linking against the stage0/1 in flash,
without requiring a rebuild of stage0/1.

Is this too crazy?

ron




More information about the coreboot mailing list