1 #include "qemu/osdep.h"
2 #include "hw/acpi/cpu_hotplug.h"
3 #include "migration/vmstate.h"
6 /* Following stubs are all related to ACPI cpu hotplug */
7 const VMStateDescription vmstate_cpu_hotplug
;
9 void acpi_switch_to_modern_cphp(AcpiCpuHotplug
*gpe_cpu
,
10 CPUHotplugState
*cpuhp_state
,
16 void legacy_acpi_cpu_hotplug_init(MemoryRegion
*parent
, Object
*owner
,
17 AcpiCpuHotplug
*gpe_cpu
, uint16_t base
)
22 void acpi_cpu_ospm_status(CPUHotplugState
*cpu_st
, ACPIOSTInfoList
***list
)
27 void acpi_cpu_plug_cb(HotplugHandler
*hotplug_dev
,
28 CPUHotplugState
*cpu_st
, DeviceState
*dev
, Error
**errp
)
33 void legacy_acpi_cpu_plug_cb(HotplugHandler
*hotplug_dev
,
34 AcpiCpuHotplug
*g
, DeviceState
*dev
, Error
**errp
)
39 void acpi_cpu_unplug_cb(CPUHotplugState
*cpu_st
,
40 DeviceState
*dev
, Error
**errp
)
45 void acpi_cpu_unplug_request_cb(HotplugHandler
*hotplug_dev
,
46 CPUHotplugState
*cpu_st
,
47 DeviceState
*dev
, Error
**errp
)