summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIgor Mammedov2016-10-19 14:05:35 +0200
committerEduardo Habkost2016-10-24 21:29:15 +0200
commit33d7a288298f02df3eadd509735f0f75e3f80d73 (patch)
tree3a15ddd283ce79c2e00e14134aff5d325dec4c55 /include
parentpc: Leave max apic_id_limit only in legacy cpu hotplug code (diff)
downloadqemu-33d7a288298f02df3eadd509735f0f75e3f80d73.tar.gz
qemu-33d7a288298f02df3eadd509735f0f75e3f80d73.tar.xz
qemu-33d7a288298f02df3eadd509735f0f75e3f80d73.zip
pc: apic_common: Extend APIC ID property to 32bit
ACPI ID is 32 bit wide on CPUs with x2APIC support. Extend 'id' property to support it. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/hw/i386/apic_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/hw/i386/apic_internal.h b/include/hw/i386/apic_internal.h
index cdd11fb093..1209eb483a 100644
--- a/include/hw/i386/apic_internal.h
+++ b/include/hw/i386/apic_internal.h
@@ -160,7 +160,8 @@ struct APICCommonState {
MemoryRegion io_memory;
X86CPU *cpu;
uint32_t apicbase;
- uint8_t id;
+ uint8_t id; /* legacy APIC ID */
+ uint32_t initial_apic_id;
uint8_t version;
uint8_t arb_id;
uint8_t tpr;