acpi: rename cpu_hotplug_defs.h to pc-hotplug.h
[qemu.git] / include / hw / acpi / cpu_hotplug.h
1 /*
2 * QEMU ACPI hotplug utilities
3 *
4 * Copyright (C) 2013 Red Hat Inc
5 *
6 * Authors:
7 * Igor Mammedov <imammedo@redhat.com>
8 *
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.
11 */
12 #ifndef ACPI_HOTPLUG_H
13 #define ACPI_HOTPLUG_H
14
15 #include "hw/acpi/acpi.h"
16 #include "hw/acpi/pc-hotplug.h"
17
18 typedef struct AcpiCpuHotplug {
19 MemoryRegion io;
20 uint8_t sts[ACPI_GPE_PROC_LEN];
21 } AcpiCpuHotplug;
22
23 void AcpiCpuHotplug_add(ACPIGPE *gpe, AcpiCpuHotplug *g, CPUState *cpu);
24
25 void AcpiCpuHotplug_init(MemoryRegion *parent, Object *owner,
26 AcpiCpuHotplug *gpe_cpu, uint16_t base);
27 #endif