xref: /openbmc/qemu/hw/acpi/acpi-pci-hotplug-stub.c (revision e452053097371880910c744a5d42ae2df058a4a7)
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 
acpi_pcihp_init(Object * owner,AcpiPciHpState * s,MemoryRegion * address_space_io,uint16_t io_base)7 void acpi_pcihp_init(Object *owner, AcpiPciHpState *s,
8                      MemoryRegion *address_space_io, uint16_t io_base)
9 {
10 }
11 
acpi_pcihp_device_plug_cb(HotplugHandler * hotplug_dev,AcpiPciHpState * s,DeviceState * dev,Error ** errp)12 void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s,
13                                DeviceState *dev, Error **errp)
14 {
15 }
16 
acpi_pcihp_device_pre_plug_cb(HotplugHandler * hotplug_dev,DeviceState * dev,Error ** errp)17 void acpi_pcihp_device_pre_plug_cb(HotplugHandler *hotplug_dev,
18                                    DeviceState *dev, Error **errp)
19 {
20 }
21 
acpi_pcihp_device_unplug_cb(HotplugHandler * hotplug_dev,AcpiPciHpState * s,DeviceState * dev,Error ** errp)22 void acpi_pcihp_device_unplug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s,
23                                  DeviceState *dev, Error **errp)
24 {
25 }
26 
acpi_pcihp_device_unplug_request_cb(HotplugHandler * hotplug_dev,AcpiPciHpState * s,DeviceState * dev,Error ** errp)27 void acpi_pcihp_device_unplug_request_cb(HotplugHandler *hotplug_dev,
28                                          AcpiPciHpState *s, DeviceState *dev,
29                                          Error **errp)
30 {
31 }
32 
acpi_pcihp_reset(AcpiPciHpState * s)33 void acpi_pcihp_reset(AcpiPciHpState *s)
34 {
35 }
36 
acpi_pcihp_is_hotpluggable_bus(AcpiPciHpState * s,BusState * bus)37 bool acpi_pcihp_is_hotpluggable_bus(AcpiPciHpState *s, BusState *bus)
38 {
39     return true;
40 }
41