From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LDQQX-0004Wg-17 for qemu-devel@nongnu.org; Thu, 18 Dec 2008 16:29:01 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LDQQS-0004Tl-1h for qemu-devel@nongnu.org; Thu, 18 Dec 2008 16:29:00 -0500 Received: from [199.232.76.173] (port=56963 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LDQQR-0004Ti-O8 for qemu-devel@nongnu.org; Thu, 18 Dec 2008 16:28:55 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:47228) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LDQQP-0007dw-EJ for qemu-devel@nongnu.org; Thu, 18 Dec 2008 16:28:53 -0500 Message-ID: <494AC08E.3020206@web.de> Date: Thu, 18 Dec 2008 22:28:46 +0100 From: Jan Kiszka MIME-Version: 1.0 References: <494A4A55.2090700@siemens.com> <200812181620.01572.paul@codesourcery.com> <494A7A46.7040300@codemonkey.ws> <494A80DE.6020601@siemens.com> <494A8704.6030102@codemonkey.ws> <20081218174144.GD7215@redhat.com> <36B86144-FE36-402C-AF7D-2C1329C578C0@lvivier.info> In-Reply-To: <36B86144-FE36-402C-AF7D-2C1329C578C0@lvivier.info> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA4C5A85B97976C9D6C8983D2" Sender: jan.kiszka@web.de Subject: [Qemu-devel] Re: [PATCH] x86: Manage BIOS boot menu via command line Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jan Kiszka , Gleb Natapov This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA4C5A85B97976C9D6C8983D2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Laurent Vivier wrote: >=20 > Le 18 d=E9c. 08 =E0 18:41, Gleb Natapov a =E9crit : >=20 >> 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 t= o >>> use that within the 16-bit code without rewriting it all. >>> >> Firmware config is accessed by inb/outw IO instructions so it should b= e >> 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. >=20 >=20 > Look at my patches to add splash screen: they use firmware configuratio= n > 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 --------------enigA4C5A85B97976C9D6C8983D2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAklKwI8ACgkQniDOoMHTA+khjQCcCL5lWHl0k3D732eHJ2JE1Sk4 Tu0AnjtPpEqWy6EepcHE+eFxB5toUMCM =cO7d -----END PGP SIGNATURE----- --------------enigA4C5A85B97976C9D6C8983D2--