]> git.proxmox.com Git - mirror_qemu.git/blame - include/hw/acpi/pc-hotplug.h
include/: spelling fixes
[mirror_qemu.git] / include / hw / acpi / pc-hotplug.h
CommitLineData
81cea5e7
IM
1/*
2 * QEMU ACPI hotplug utilities shared defines
3 *
7e629d1d 4 * Copyright (C) 2014 Red Hat Inc
81cea5e7
IM
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 */
7e629d1d
IM
12#ifndef PC_HOTPLUG_H
13#define PC_HOTPLUG_H
81cea5e7
IM
14
15/*
a1a62ced 16 * ONLY DEFINEs are permitted in this file since it's shared
81cea5e7
IM
17 * between C and ASL code.
18 */
1d14ac5a
EH
19
20/* Limit for CPU arch IDs for CPU hotplug. All hotpluggable CPUs should
21 * have CPUClass.get_arch_id() < ACPI_CPU_HOTPLUG_ID_LIMIT.
22 */
23#define ACPI_CPU_HOTPLUG_ID_LIMIT 256
24
25/* 256 CPU IDs, 8 bits per entry: */
81cea5e7 26#define ACPI_GPE_PROC_LEN 32
1d14ac5a 27
d6610bc2 28#define ICH9_CPU_HOTPLUG_IO_BASE 0x0CD8
e4cf8ed0 29#define PIIX4_CPU_HOTPLUG_IO_BASE 0xaf00
ddf1ec2f 30#define CPU_HOTPLUG_RESOURCE_DEVICE PRES
81cea5e7 31
3ef77aca
IM
32#define ACPI_MEMORY_HOTPLUG_BASE 0x0a00
33
81cea5e7 34#endif