1 #include "qemu/osdep.h"
2 #include "hw/acpi/pcihp.h"
3 #include "migration/vmstate.h"
5 const VMStateDescription vmstate_acpi_pcihp_pci_status
;
7 void acpi_pcihp_init(Object
*owner
, AcpiPciHpState
*s
, PCIBus
*root_bus
,
8 MemoryRegion
*address_space_io
, uint16_t io_base
)
13 void acpi_pcihp_device_plug_cb(HotplugHandler
*hotplug_dev
, AcpiPciHpState
*s
,
14 DeviceState
*dev
, Error
**errp
)
19 void acpi_pcihp_device_pre_plug_cb(HotplugHandler
*hotplug_dev
,
20 DeviceState
*dev
, Error
**errp
)
25 void acpi_pcihp_device_unplug_cb(HotplugHandler
*hotplug_dev
, AcpiPciHpState
*s
,
26 DeviceState
*dev
, Error
**errp
)
31 void acpi_pcihp_device_unplug_request_cb(HotplugHandler
*hotplug_dev
,
32 AcpiPciHpState
*s
, DeviceState
*dev
,
38 void acpi_pcihp_reset(AcpiPciHpState
*s
)
43 bool acpi_pcihp_is_hotpluggbale_bus(AcpiPciHpState
*s
, BusState
*bus
)