qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: qemu-devel@nongnu.org
Cc: Jan Kiszka <jan.kiszka@siemens.com>, Gleb Natapov <gleb@redhat.com>
Subject: [Qemu-devel] Re: [PATCH] x86: Manage BIOS boot menu via command line
Date: Thu, 18 Dec 2008 22:28:46 +0100	[thread overview]
Message-ID: <494AC08E.3020206@web.de> (raw)
In-Reply-To: <36B86144-FE36-402C-AF7D-2C1329C578C0@lvivier.info>

[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]

Laurent Vivier wrote:
> 
> 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.

If replicating qemu_cfg_port_probe & friends is OK, we should at least
agree on using common helpers within those two bios domains.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 258 bytes --]

  reply	other threads:[~2008-12-18 21:29 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
2008-12-18 18:43           ` Laurent Vivier
2008-12-18 21:28             ` Jan Kiszka [this message]
2008-12-18 16:27 ` 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=494AC08E.3020206@web.de \
    --to=jan.kiszka@web.de \
    --cc=gleb@redhat.com \
    --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).