diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-07-02 15:25:16 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-07-06 17:01:11 +0200 |
commit | 10e2483b5f4f288be394e49661fc60f334dd9930 (patch) | |
tree | ac77e38a328a3fb15ea4c6678466b2f889f99e07 /include | |
parent | fcb541c14e2791829c0cbca3c6678bddaf121226 (diff) | |
download | qemu-10e2483b5f4f288be394e49661fc60f334dd9930.zip qemu-10e2483b5f4f288be394e49661fc60f334dd9930.tar.gz qemu-10e2483b5f4f288be394e49661fc60f334dd9930.tar.bz2 |
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 'include')
-rw-r--r-- | include/hw/i386/pc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index dce1273..3a601db 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -160,7 +160,8 @@ void pc_memory_init(PCMachineState *pcms, MemoryRegion **ram_memory); uint64_t pc_pci_hole64_start(void); DeviceState *pc_vga_init(ISABus *isa_bus, PCIBus *pci_bus); -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, |