2 * QEMU ACPI hotplug utilities
4 * Copyright (C) 2013 Red Hat Inc
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
12 #ifndef ACPI_HOTPLUG_H
13 #define ACPI_HOTPLUG_H
15 #include "hw/acpi/acpi.h"
16 #include "hw/acpi/pc-hotplug.h"
18 typedef struct AcpiCpuHotplug {
20 uint8_t sts[ACPI_GPE_PROC_LEN];
23 void acpi_cpu_plug_cb(ACPIREGS *ar, qemu_irq irq,
24 AcpiCpuHotplug *g, DeviceState *dev, Error **errp);
26 void acpi_cpu_hotplug_init(MemoryRegion *parent, Object *owner,
27 AcpiCpuHotplug *gpe_cpu, uint16_t base);