qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

acpi-pci-hotplug-stub.c (1114B)


      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, PCIBus *root_bus,
      8                      MemoryRegion *address_space_io, bool bridges_enabled,
      9                      uint16_t io_base)
     10 {
     11     return;
     12 }
     13 
     14 void acpi_pcihp_device_plug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s,
     15                                DeviceState *dev, Error **errp)
     16 {
     17     return;
     18 }
     19 
     20 void acpi_pcihp_device_pre_plug_cb(HotplugHandler *hotplug_dev,
     21                                    DeviceState *dev, Error **errp)
     22 {
     23     return;
     24 }
     25 
     26 void acpi_pcihp_device_unplug_cb(HotplugHandler *hotplug_dev, AcpiPciHpState *s,
     27                                  DeviceState *dev, Error **errp)
     28 {
     29     return;
     30 }
     31 
     32 void acpi_pcihp_device_unplug_request_cb(HotplugHandler *hotplug_dev,
     33                                          AcpiPciHpState *s, DeviceState *dev,
     34                                          Error **errp)
     35 {
     36     return;
     37 }
     38 
     39 void acpi_pcihp_reset(AcpiPciHpState *s, bool acpihp_root_off)
     40 {
     41     return;
     42 }
     43