summaryrefslogtreecommitdiff
path: root/target-i386/cpu.h
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2012-10-22 17:03:10 +0200
committerAndreas Färber <afaerber@suse.de>2012-12-06 09:17:06 +0100
commit9df694eeb8447ae5a302b4d40df9a8b91dfc61da (patch)
treef9f2b0ea479b6797b178b07aade0b63fe1129256 /target-i386/cpu.h
parent8f961357d06a0beeb7d3efbde1d754d82ff6a300 (diff)
downloadqemu-9df694eeb8447ae5a302b4d40df9a8b91dfc61da.zip
target-i386: Use define for cpuid vendor string size
Signed-off-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r--target-i386/cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-i386/cpu.h b/target-i386/cpu.h
index 90ef1ff1e2..386c4f6d98 100644
--- a/target-i386/cpu.h
+++ b/target-i386/cpu.h
@@ -510,6 +510,8 @@
#define CPUID_7_0_EBX_ADX (1 << 19)
#define CPUID_7_0_EBX_SMAP (1 << 20)
+#define CPUID_VENDOR_SZ 12
+
#define CPUID_VENDOR_INTEL_1 0x756e6547 /* "Genu" */
#define CPUID_VENDOR_INTEL_2 0x49656e69 /* "ineI" */
#define CPUID_VENDOR_INTEL_3 0x6c65746e /* "ntel" */