qemu

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

acpi-mem-hotplug-stub.c (876B)


      1 #include "qemu/osdep.h"
      2 #include "hw/acpi/memory_hotplug.h"
      3 #include "migration/vmstate.h"
      4 
      5 const VMStateDescription vmstate_memory_hotplug;
      6 
      7 void acpi_memory_hotplug_init(MemoryRegion *as, Object *owner,
      8                               MemHotplugState *state, hwaddr io_base)
      9 {
     10     return;
     11 }
     12 
     13 void acpi_memory_ospm_status(MemHotplugState *mem_st, ACPIOSTInfoList ***list)
     14 {
     15     return;
     16 }
     17 
     18 void acpi_memory_plug_cb(HotplugHandler *hotplug_dev, MemHotplugState *mem_st,
     19                          DeviceState *dev, Error **errp)
     20 {
     21     return;
     22 }
     23 
     24 void acpi_memory_unplug_cb(MemHotplugState *mem_st,
     25                            DeviceState *dev, Error **errp)
     26 {
     27     return;
     28 }
     29 
     30 void acpi_memory_unplug_request_cb(HotplugHandler *hotplug_dev,
     31                                    MemHotplugState *mem_st,
     32                                    DeviceState *dev, Error **errp)
     33 {
     34     return;
     35 }