master
c 40 lines 1.03 KB
Raw
1 #include "qemu/osdep.h"
2 #include "hw/acpi/pcihp.h"
3 #include "migration/vmstate.h"
4
5 const VMStateDescription vmstate_acpi_pcihp_pci_status;
6
7 void acpi_pcihp_init(Object *owner, AcpiPciHpState *s,
8 MemoryRegion *address_space_io, uint16_t io_base)
9 {
10 }
11
12 void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s,
13 DeviceState *dev, Error **errp)
14 {
15 }
16
17 void acpi_pcihp_device_pre_plug_cb(HotplugHandler *hotplug_dev,
18 DeviceState *dev, Error **errp)
19 {
20 }
21
22 void acpi_pcihp_device_unplug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s,
23 DeviceState *dev, Error **errp)
24 {
25 }
26
27 void acpi_pcihp_device_unplug_request_cb(HotplugHandler *hotplug_dev,
28 AcpiPciHpState *s, DeviceState *dev,
29 Error **errp)
30 {
31 }
32
33 void acpi_pcihp_reset(AcpiPciHpState *s)
34 {
35 }
36
37 bool acpi_pcihp_is_hotpluggable_bus(AcpiPciHpState *s, BusState *bus)
38 {
39 return true;
40 }