On Thu, Dec 18, 2008 at 11:23:16AM -0600, Anthony Liguori wrote:
I'm open for the firmware config if you explain to me how state
information is supposed to be transfered from rombios32.c (where the
fw_cfg is evaluated) to some function in rombios.c. Tried this but
found
nothing obvious.
Gleb, could you comment here? I'm obviously ignorant of the firmware
config code in the BIOS. It seems like the right thing to use but if
it's all the current support is in 32-bit code, it may be difficult
to
use that within the 16-bit code without rewriting it all.
Firmware config is accessed by inb/outw IO instructions so it should
be
easy to do that from rombios.c. But it is possible to read the option
in rombios32.c and put it somewhere in unused space in 0x400 and check
the value from rombios.c.