1 /* 2 * QEMU PIIX South Bridge Emulation 3 * 4 * Copyright (c) 2006 Fabrice Bellard 5 * Copyright (c) 2018 Hervé Poussineau 6 * 7 * This work is licensed under the terms of the GNU GPL, version 2 or later. 8 * See the COPYING file in the top-level directory. 9 * 10 */ 11 12 #ifndef HW_SOUTHBRIDGE_PIIX_H 13 #define HW_SOUTHBRIDGE_PIIX_H 14 15 #define TYPE_PIIX4_PM "PIIX4_PM" 16 17 I2CBus *piix4_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base, 18 qemu_irq sci_irq, qemu_irq smi_irq, 19 int smm_enabled, DeviceState **piix4_pm); 20 21 extern PCIDevice *piix4_dev; 22 23 DeviceState *piix4_create(PCIBus *pci_bus, ISABus **isa_bus, 24 I2CBus **smbus, size_t ide_buses); 25 26 #endif 27