diff options
author | Rui Paulo <rpaulo@FreeBSD.org> | 2013-04-18 01:30:08 +0000 |
---|---|---|
committer | Rui Paulo <rpaulo@FreeBSD.org> | 2013-04-18 01:30:08 +0000 |
commit | ba5f77bf162c89d4cb1c187789725e4d609b2389 (patch) | |
tree | 438b8d0a6af041fa37f1f08c62f07dca72c8fe8f /sys/x86/include | |
parent | 068e8f74e48cfa1e713de5857b1c25c02547319d (diff) | |
download | src-ba5f77bf162c89d4cb1c187789725e4d609b2389.tar.gz src-ba5f77bf162c89d4cb1c187789725e4d609b2389.zip |
Add the most current CPUID7_* definitions.
Notes
Notes:
svn path=/head/; revision=249602
Diffstat (limited to 'sys/x86/include')
-rw-r--r-- | sys/x86/include/specialreg.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h index fb4a197af214..d0f51a5004c5 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -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 |