qemu

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

acpi-cpu-hotplug-stub.c (1258B)


      1 #include "qemu/osdep.h"
      2 #include "hw/acpi/cpu_hotplug.h"
      3 #include "migration/vmstate.h"
      4 
      5 
      6 /* Following stubs are all related to ACPI cpu hotplug */
      7 const VMStateDescription vmstate_cpu_hotplug;
      8 
      9 void acpi_switch_to_modern_cphp(AcpiCpuHotplug *gpe_cpu,
     10                                 CPUHotplugState *cpuhp_state,
     11                                 uint16_t io_port)
     12 {
     13     return;
     14 }
     15 
     16 void legacy_acpi_cpu_hotplug_init(MemoryRegion *parent, Object *owner,
     17                                   AcpiCpuHotplug *gpe_cpu, uint16_t base)
     18 {
     19     return;
     20 }
     21 
     22 void acpi_cpu_ospm_status(CPUHotplugState *cpu_st, ACPIOSTInfoList ***list)
     23 {
     24     return;
     25 }
     26 
     27 void acpi_cpu_plug_cb(HotplugHandler *hotplug_dev,
     28                       CPUHotplugState *cpu_st, DeviceState *dev, Error **errp)
     29 {
     30     return;
     31 }
     32 
     33 void legacy_acpi_cpu_plug_cb(HotplugHandler *hotplug_dev,
     34                              AcpiCpuHotplug *g, DeviceState *dev, Error **errp)
     35 {
     36     return;
     37 }
     38 
     39 void acpi_cpu_unplug_cb(CPUHotplugState *cpu_st,
     40                         DeviceState *dev, Error **errp)
     41 {
     42     return;
     43 }
     44 
     45 void acpi_cpu_unplug_request_cb(HotplugHandler *hotplug_dev,
     46                                 CPUHotplugState *cpu_st,
     47                                 DeviceState *dev, Error **errp)
     48 {
     49     return;
     50 }