[Top][All Lists]

[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: Gleb Natapov
Subject: Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line
Date: Thu, 18 Dec 2008 19:41:44 +0200

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.


reply via email to

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