diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2013-04-18 01:30:08 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2013-04-18 01:30:08 +0000 |
commit | 7b5712a5b538d1a33f58ef420091971787a25283 (patch) | |
tree | 438b8d0a6af041fa37f1f08c62f07dca72c8fe8f /sys/x86 | |
parent | ba95edba6fe35ce9a0c71afd8223b3da556efd0c (diff) | |
download | FreeBSD-src-7b5712a5b538d1a33f58ef420091971787a25283.zip FreeBSD-src-7b5712a5b538d1a33f58ef420091971787a25283.tar.gz |
Add the most current CPUID7_* definitions.
Diffstat (limited to 'sys/x86')
-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 fb4a197..d0f51a5 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 |