[SeaBIOS] [PATCH] Support more than one vga card

Kevin O'Connor kevin at koconnor.net
Thu May 5 02:23:05 CEST 2011


On Wed, May 04, 2011 at 01:22:03PM -0300, Glauber Costa wrote:
> let me rephrase then: what if you have n vga option roms under fw_cfg's
> vgaroms/ ?

Then both would be run.

If one were to put two real VGA ROMs in "vgaroms/", then both roms
would be run, both would try to map hardware registers to
0xa0000-0xc0000, and things would break.

However, the sgabios isn't a "real" vga rom - it doesn't try to map
0xa0000.  Instead, sgabios is just a blob of code that we'd like to
run early so that it can hook int10.

The "vgaroms/" capability was added specifically to allow sgabios to
run early in the boot.

http://www.coreboot.org/pipermail/coreboot/2009-May/048678.html

-Kevin



More information about the SeaBIOS mailing list