summaryrefslogtreecommitdiffstats
path: root/hw/i386/pc.c
diff options
context:
space:
mode:
authorGerd Hoffmann2020-07-02 15:25:16 +0200
committerGerd Hoffmann2020-07-06 17:01:11 +0200
commit10e2483b5f4f288be394e49661fc60f334dd9930 (patch)
treeac77e38a328a3fb15ea4c6678466b2f889f99e07 /hw/i386/pc.c
parentaudio: deprecate -soundhw hda (diff)
downloadqemu-10e2483b5f4f288be394e49661fc60f334dd9930.tar.gz
qemu-10e2483b5f4f288be394e49661fc60f334dd9930.tar.xz
qemu-10e2483b5f4f288be394e49661fc60f334dd9930.zip
pc_basic_device_init: pass PCMachineState
Need access to pcms for pcspk initialization. Just preparation, no functional change. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20200702132525.6849-12-kraxel@redhat.com
Diffstat (limited to 'hw/i386/pc.c')
-rw-r--r--hw/i386/pc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 4af9679d03..d89e577f6f 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -1155,7 +1155,8 @@ static void pc_superio_init(ISABus *isa_bus, bool create_fdctrl, bool no_vmport)
g_free(a20_line);
}
-void pc_basic_device_init(ISABus *isa_bus, qemu_irq *gsi,
+void pc_basic_device_init(struct PCMachineState *pcms,
+ ISABus *isa_bus, qemu_irq *gsi,
ISADevice **rtc_state,
bool create_fdctrl,
bool no_vmport,