qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 16/27] pc: pass PCInitArgs struct to pc_bios_init()


From: Eduardo Habkost
Subject: [Qemu-devel] [PATCH 16/27] pc: pass PCInitArgs struct to pc_bios_init()
Date: Wed, 24 Oct 2012 15:49:50 -0200

The argument will be used later, when enabling compatibility mode for
the APIC ID generation code.

Signed-off-by: Eduardo Habkost <address@hidden>
---
 hw/pc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/pc.c b/hw/pc.c
index c38d8b2..0e01003 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -570,7 +570,7 @@ int e820_add_entry(uint64_t address, uint64_t length, 
uint32_t type)
     return index;
 }
 
-static FWCfgState *pc_bios_init(void)
+static FWCfgState *pc_bios_init(PCInitArgs *args)
 {
     FWCfgState *fw_cfg;
     uint8_t *smbios_table;
@@ -918,7 +918,7 @@ void *pc_memory_init(PCInitArgs *args)
                                         option_rom_mr,
                                         1);
 
-    fw_cfg = pc_bios_init();
+    fw_cfg = pc_bios_init(args);
     rom_set_fw(fw_cfg);
 
     if (linux_boot) {
-- 
1.7.11.7




reply via email to

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