181cea5e7SIgor Mammedov /* 281cea5e7SIgor Mammedov * QEMU ACPI hotplug utilities shared defines 381cea5e7SIgor Mammedov * 481cea5e7SIgor Mammedov * Copyright (C) 2013 Red Hat Inc 581cea5e7SIgor Mammedov * 681cea5e7SIgor Mammedov * Authors: 781cea5e7SIgor Mammedov * Igor Mammedov <imammedo@redhat.com> 881cea5e7SIgor Mammedov * 981cea5e7SIgor Mammedov * This work is licensed under the terms of the GNU GPL, version 2 or later. 1081cea5e7SIgor Mammedov * See the COPYING file in the top-level directory. 1181cea5e7SIgor Mammedov */ 1281cea5e7SIgor Mammedov #ifndef ACPI_HOTPLUG_DEFS_H 1381cea5e7SIgor Mammedov #define ACPI_HOTPLUG_DEFS_H 1481cea5e7SIgor Mammedov 1581cea5e7SIgor Mammedov /* 1681cea5e7SIgor Mammedov * ONLY DEFINEs are permited in this file since it's shared 1781cea5e7SIgor Mammedov * between C and ASL code. 1881cea5e7SIgor Mammedov */ 1981cea5e7SIgor Mammedov #define ACPI_CPU_HOTPLUG_STATUS 4 20*1d14ac5aSEduardo Habkost 21*1d14ac5aSEduardo Habkost /* Limit for CPU arch IDs for CPU hotplug. All hotpluggable CPUs should 22*1d14ac5aSEduardo Habkost * have CPUClass.get_arch_id() < ACPI_CPU_HOTPLUG_ID_LIMIT. 23*1d14ac5aSEduardo Habkost */ 24*1d14ac5aSEduardo Habkost #define ACPI_CPU_HOTPLUG_ID_LIMIT 256 25*1d14ac5aSEduardo Habkost 26*1d14ac5aSEduardo Habkost /* 256 CPU IDs, 8 bits per entry: */ 2781cea5e7SIgor Mammedov #define ACPI_GPE_PROC_LEN 32 28*1d14ac5aSEduardo Habkost 29d6610bc2SIgor Mammedov #define ICH9_CPU_HOTPLUG_IO_BASE 0x0CD8 30e4cf8ed0SIgor Mammedov #define PIIX4_CPU_HOTPLUG_IO_BASE 0xaf00 3181cea5e7SIgor Mammedov 3281cea5e7SIgor Mammedov #endif 33