From: Gleb Natapov <gleb@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: Jan Kiszka <jan.kiszka@siemens.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line
Date: Thu, 18 Dec 2008 19:41:44 +0200 [thread overview]
Message-ID: <20081218174144.GD7215@redhat.com> (raw)
In-Reply-To: <494A8704.6030102@codemonkey.ws>
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.
--
Gleb.
next prev parent reply other threads:[~2008-12-18 17:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-18 13:04 [Qemu-devel] [PATCH] x86: Manage BIOS boot menu via command line Jan Kiszka
2008-12-18 13:30 ` Gleb Natapov
2008-12-18 16:06 ` [Qemu-devel] " Jan Kiszka
2008-12-18 16:20 ` [Qemu-devel] " Paul Brook
2008-12-18 16:28 ` Anthony Liguori
2008-12-18 16:57 ` Jan Kiszka
2008-12-18 17:23 ` Anthony Liguori
2008-12-18 17:41 ` Gleb Natapov [this message]
2008-12-18 18:43 ` Laurent Vivier
2008-12-18 21:28 ` [Qemu-devel] " Jan Kiszka
2008-12-18 16:27 ` [Qemu-devel] " Anthony Liguori
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081218174144.GD7215@redhat.com \
--to=gleb@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=jan.kiszka@siemens.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).