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
acpi_switch_to_modern_cphp(AcpiCpuHotplug * gpe_cpu,CPUHotplugState * cpuhp_state,uint16_t io_port)9 void acpi_switch_to_modern_cphp(AcpiCpuHotplug *gpe_cpu,
10 CPUHotplugState *cpuhp_state,
11 uint16_t io_port)
12 {
13 }
14
legacy_acpi_cpu_hotplug_init(MemoryRegion * parent,Object * owner,AcpiCpuHotplug * gpe_cpu,uint16_t base)15 void legacy_acpi_cpu_hotplug_init(MemoryRegion *parent, Object *owner,
16 AcpiCpuHotplug *gpe_cpu, uint16_t base)
17 {
18 }
19
cpu_hotplug_hw_init(MemoryRegion * as,Object * owner,CPUHotplugState * state,hwaddr base_addr)20 void cpu_hotplug_hw_init(MemoryRegion *as, Object *owner,
21 CPUHotplugState *state, hwaddr base_addr)
22 {
23 }
24
acpi_cpu_ospm_status(CPUHotplugState * cpu_st,ACPIOSTInfoList *** list)25 void acpi_cpu_ospm_status(CPUHotplugState *cpu_st, ACPIOSTInfoList ***list)
26 {
27 }
28
acpi_cpu_plug_cb(HotplugHandler * hotplug_dev,CPUHotplugState * cpu_st,DeviceState * dev,Error ** errp)29 void acpi_cpu_plug_cb(HotplugHandler *hotplug_dev,
30 CPUHotplugState *cpu_st, DeviceState *dev, Error **errp)
31 {
32 }
33
legacy_acpi_cpu_plug_cb(HotplugHandler * hotplug_dev,AcpiCpuHotplug * g,DeviceState * dev,Error ** errp)34 void legacy_acpi_cpu_plug_cb(HotplugHandler *hotplug_dev,
35 AcpiCpuHotplug *g, DeviceState *dev, Error **errp)
36 {
37 }
38
acpi_cpu_unplug_cb(CPUHotplugState * cpu_st,DeviceState * dev,Error ** errp)39 void acpi_cpu_unplug_cb(CPUHotplugState *cpu_st,
40 DeviceState *dev, Error **errp)
41 {
42 }
43
acpi_cpu_unplug_request_cb(HotplugHandler * hotplug_dev,CPUHotplugState * cpu_st,DeviceState * dev,Error ** errp)44 void acpi_cpu_unplug_request_cb(HotplugHandler *hotplug_dev,
45 CPUHotplugState *cpu_st,
46 DeviceState *dev, Error **errp)
47 {
48 }
49