acpi-cpu-hotplug-stub.c 1.2 KB

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