From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LXUSz-00025W-TJ for qemu-devel@nongnu.org; Thu, 12 Feb 2009 00:50:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LXUSz-00025C-7Y for qemu-devel@nongnu.org; Thu, 12 Feb 2009 00:50:29 -0500 Received: from [199.232.76.173] (port=54884 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LXUSz-000258-4v for qemu-devel@nongnu.org; Thu, 12 Feb 2009 00:50:29 -0500 Received: from mout.perfora.net ([74.208.4.194]:57241) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LXUSy-0006vi-Qg for qemu-devel@nongnu.org; Thu, 12 Feb 2009 00:50:28 -0500 From: Cory Fields Date: Thu, 12 Feb 2009 01:48:46 -0500 Message-Id: <1234421329-8119-2-git-send-email-FOSS@AtlasTechnologiesInc.com> In-Reply-To: <1234421329-8119-1-git-send-email-FOSS@AtlasTechnologiesInc.com> References: <1234421329-8119-1-git-send-email-FOSS@AtlasTechnologiesInc.com> Subject: [Qemu-devel] [PATCH] Define a new route for sending data to bios 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 --- hw/fw_cfg.c | 2 ++ hw/fw_cfg.h | 2 ++ sysemu.h | 3 +++ 3 files changed, 7 insertions(+), 0 deletions(-) diff --git a/hw/fw_cfg.c b/hw/fw_cfg.c index 4333ed9..fe5d393 100644 --- a/hw/fw_cfg.c +++ b/hw/fw_cfg.c @@ -287,6 +287,8 @@ void *fw_cfg_init(uint32_t ctl_port, uint32_t data_port, fw_cfg_add_bytes(s, FW_CFG_UUID, qemu_uuid, 16); fw_cfg_add_i16(s, FW_CFG_NOGRAPHIC, (uint16_t)nographic); fw_cfg_add_i16(s, FW_CFG_NB_CPUS, (uint16_t)smp_cpus); + fw_cfg_add_i16(s, FW_CFG_QUIETBIOS, (uint16_t)quietbios); + fw_cfg_add_i16(s, FW_CFG_BIOSPROMPT, (uint16_t)biosprompt); register_savevm("fw_cfg", -1, 1, fw_cfg_save, fw_cfg_load, s); qemu_register_reset(fw_cfg_reset, s); diff --git a/hw/fw_cfg.h b/hw/fw_cfg.h index ef8f378..a119867 100644 --- a/hw/fw_cfg.h +++ b/hw/fw_cfg.h @@ -8,6 +8,8 @@ #define FW_CFG_NOGRAPHIC 0x04 #define FW_CFG_NB_CPUS 0x05 #define FW_CFG_MACHINE_ID 0x06 +#define FW_CFG_BIOSPROMPT 0x07 +#define FW_CFG_QUIETBIOS 0x08 #define FW_CFG_MAX_ENTRY 0x10 #define FW_CFG_WRITE_CHANNEL 0x4000 diff --git a/sysemu.h b/sysemu.h index bc6d5af..14b9aef 100644 --- a/sysemu.h +++ b/sysemu.h @@ -85,6 +85,9 @@ extern int graphic_width; extern int graphic_height; extern int graphic_depth; extern int nographic; +extern int quietbios; +extern int biosprompt; + extern const char *keyboard_layout; extern int win2k_install_hack; extern int rtc_td_hack; -- 1.6.0.6