cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

acpi-cpu-hotplug-stub.c (1258B)


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