aboutsummaryrefslogtreecommitdiff
path: root/tests/.gitignore
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2013-01-23 15:58:27 -0200
committerAndreas Färber <afaerber@suse.de>2013-01-27 14:34:27 +0100
commit247c9de13f9d54a94734875000a9faea8168c8ca (patch)
tree9b26cf09cdb0b08f8252e6c3cd3b57a355363173 /tests/.gitignore
parent1d934e89793d2828e04af93abd181e5ed5349ef4 (diff)
downloadqemu-247c9de13f9d54a94734875000a9faea8168c8ca.zip
qemu-247c9de13f9d54a94734875000a9faea8168c8ca.tar.gz
qemu-247c9de13f9d54a94734875000a9faea8168c8ca.tar.bz2
target-i386: Topology & APIC ID utility functions
This introduces utility functions for the APIC ID calculation, based on: Intel® 64 Architecture Processor Topology Enumeration http://software.intel.com/en-us/articles/intel-64-architecture-processor-topology-enumeration/ The code should be compatible with AMD's "Extended Method" described at: AMD CPUID Specification (Publication #25481) Section 3: Multiple Core Calcuation as long as: - nr_threads is set to 1; - OFFSET_IDX is assumed to be 0; - CPUID Fn8000_0008_ECX[ApicIdCoreIdSize[3:0]] is set to apicid_core_width(). Unit tests included. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'tests/.gitignore')
-rw-r--r--tests/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/.gitignore b/tests/.gitignore
index f9041f3..38c94ef 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -10,4 +10,5 @@ test-qmp-commands.h
test-qmp-commands
test-qmp-input-strict
test-qmp-marshal.c
+test-x86-cpuid
*-test