qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line


From: Laurent Vivier
Subject: Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line
Date: Thu, 18 Dec 2008 19:43:59 +0100


Le 18 déc. 08 à 18:41, Gleb Natapov a écrit :

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.


Look at my patches to add splash screen: they use firmware configuration device from rombios.c.

Regards,
Laurent
----------------------- Laurent Vivier ----------------------
"The best way to predict the future is to invent it."
- Alan Kay









reply via email to

[Prev in Thread] Current Thread [Next in Thread]