summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2011-04-12 22:12:23 +0000
committerjkim <jkim@FreeBSD.org>2011-04-12 22:12:23 +0000
commitdf8e7b4e4c8923983f67d40dc817bca367b7df37 (patch)
tree197b45ec334e284c66f6b850f4326459fb9ed042 /sys/i386
parent76647eca4db3af964b009762417db77486718a6c (diff)
downloadFreeBSD-src-df8e7b4e4c8923983f67d40dc817bca367b7df37.zip
FreeBSD-src-df8e7b4e4c8923983f67d40dc817bca367b7df37.tar.gz
Add definitions for CPUID instruction 6, ECX information.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/include/specialreg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/i386/include/specialreg.h b/sys/i386/include/specialreg.h
index 73e7a84..2cd1f8f 100644
--- a/sys/i386/include/specialreg.h
+++ b/sys/i386/include/specialreg.h
@@ -195,6 +195,12 @@
#define CPUID_HTT_CORES 0x00ff0000
#define CPUID_LOCAL_APIC_ID 0xff000000
+/*
+ * CPUID instruction 6 ecx info
+ */
+#define CPUID_PERF_STAT 0x00000001
+#define CPUID_PERF_BIAS 0x00000008
+
/*
* CPUID instruction 0xb ebx info.
*/
OpenPOWER on IntegriCloud