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