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
, bool bridges_enabled
,
14 void acpi_pcihp_device_plug_cb(HotplugHandler
*hotplug_dev
, AcpiPciHpState
*s
,
15 DeviceState
*dev
, Error
**errp
)
20 void acpi_pcihp_device_pre_plug_cb(HotplugHandler
*hotplug_dev
,
21 DeviceState
*dev
, Error
**errp
)
26 void acpi_pcihp_device_unplug_cb(HotplugHandler
*hotplug_dev
, AcpiPciHpState
*s
,
27 DeviceState
*dev
, Error
**errp
)
32 void acpi_pcihp_device_unplug_request_cb(HotplugHandler
*hotplug_dev
,
33 AcpiPciHpState
*s
, DeviceState
*dev
,
39 void acpi_pcihp_reset(AcpiPciHpState
*s
, bool acpihp_root_off
)
44 bool vmstate_acpi_pcihp_use_acpi_index(void *opaque
, int version_id
)