2
0

acpi-cpu-hotplug-stub.c 1.4 KB

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