diff options
author | Bernhard Beschow | 2022-06-03 20:50:40 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2022-06-11 11:44:50 +0200 |
commit | 19e375db22461b255d32704ad289508e0f1d9947 (patch) | |
tree | 5c0f04868a92691c8111b2376e94d628a2d850a1 /include/hw | |
parent | hw/isa/piix4: Factor out ISABus retrieval from piix4_create() (diff) | |
download | qemu-19e375db22461b255d32704ad289508e0f1d9947.tar.gz qemu-19e375db22461b255d32704ad289508e0f1d9947.tar.xz qemu-19e375db22461b255d32704ad289508e0f1d9947.zip |
hw/isa/piix4: QOM'ify PIIX4 PM creation
Just like the real hardware, create the PIIX4 ACPI controller as part of
the PIIX4 southbridge. This also mirrors how the IDE and USB functions
are already created.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20220603185045.143789-7-shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/southbridge/piix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/southbridge/piix.h b/include/hw/southbridge/piix.h index dab5c9704e..2357ce0287 100644 --- a/include/hw/southbridge/piix.h +++ b/include/hw/southbridge/piix.h @@ -70,6 +70,6 @@ DECLARE_INSTANCE_CHECKER(PIIX3State, PIIX3_PCI_DEVICE, PIIX3State *piix3_create(PCIBus *pci_bus, ISABus **isa_bus); -DeviceState *piix4_create(PCIBus *pci_bus, I2CBus **smbus); +DeviceState *piix4_create(PCIBus *pci_bus); #endif |