summaryrefslogtreecommitdiffstats
path: root/sys/x86
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-07-28 06:55:08 +0000
committerkib <kib@FreeBSD.org>2015-07-28 06:55:08 +0000
commit4694db8d4ebc17fcb14bdc277af22fa078141beb (patch)
tree5bfa71543999e2f453d69c2f873925be9dbcfbcd /sys/x86
parent0371a98a00c2c58f50fa9a6e1bbd6c3a01f12848 (diff)
downloadFreeBSD-src-4694db8d4ebc17fcb14bdc277af22fa078141beb.zip
FreeBSD-src-4694db8d4ebc17fcb14bdc277af22fa078141beb.tar.gz
Add bit names for the IA32_MISC_ENABLE msr.
Sponsored by: The FreeBSD Foundation MFC after: 1 week
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/include/specialreg.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h
index 6c849ff..e88a4d7 100644
--- a/sys/x86/include/specialreg.h
+++ b/sys/x86/include/specialreg.h
@@ -521,6 +521,17 @@
#define IA32_FEATURE_CONTROL_SMX_EN 0x02 /* enable VMX inside SMX */
#define IA32_FEATURE_CONTROL_VMX_EN 0x04 /* enable VMX outside SMX */
+/* MSR IA32_MISC_ENABLE */
+#define IA32_MISC_EN_FASTSTR 0x0000000000000001ULL
+#define IA32_MISC_EN_ATCCE 0x0000000000000008ULL
+#define IA32_MISC_EN_PERFMON 0x0000000000000080ULL
+#define IA32_MISC_EN_PEBSU 0x0000000000001000ULL
+#define IA32_MISC_EN_ESSTE 0x0000000000010000ULL
+#define IA32_MISC_EN_MONE 0x0000000000040000ULL
+#define IA32_MISC_EN_LIMCPUID 0x0000000000400000ULL
+#define IA32_MISC_EN_xTPRD 0x0000000000800000ULL
+#define IA32_MISC_EN_XDD 0x0000000400000000ULL
+
/*
* PAT modes.
*/
OpenPOWER on IntegriCloud