svn commit: r249602 - head/sys/x86/include
Rui Paulo
rpaulo at FreeBSD.org
Thu Apr 18 01:30:09 UTC 2013
Author: rpaulo
Date: Thu Apr 18 01:30:08 2013
New Revision: 249602
URL: http://svnweb.freebsd.org/changeset/base/249602
Log:
Add the most current CPUID7_* definitions.
Modified:
head/sys/x86/include/specialreg.h
Modified: head/sys/x86/include/specialreg.h
==============================================================================
--- head/sys/x86/include/specialreg.h Thu Apr 18 01:21:44 2013 (r249601)
+++ head/sys/x86/include/specialreg.h Thu Apr 18 01:30:08 2013 (r249602)
@@ -172,6 +172,23 @@
#define CPUTPM2_EFFREQ 0x00000001
/*
+ * Structured Extended Features
+ */
+#define CPUID7_GSFSBASE 0x00000001
+#define CPUID7_TSCADJ 0x00000002
+#define CPUID7_BMI1 0x00000008
+#define CPUID7_HLE 0x00000010
+#define CPUID7_AVX2 0x00000020
+#define CPUID7_SMEP 0x00000080
+#define CPUID7_BMI2 0x00000100
+#define CPUID7_ENHMOVSB 0x00000200
+#define CPUID7_INVPCID 0x00000400
+#define CPUID7_RTM 0x00000800
+#define CPUID7_RDSEED 0x00040000
+#define CPUID7_ADX 0x00080000
+#define CPUID7_SMAP 0x00100000
+
+/*
* Important bits in the AMD extended cpuid flags
*/
#define AMDID_SYSCALL 0x00000800
More information about the svn-src-head
mailing list