svn commit: r285932 - head/sys/x86/include

Konstantin Belousov kib at FreeBSD.org
Tue Jul 28 06:55:09 UTC 2015


Author: kib
Date: Tue Jul 28 06:55:08 2015
New Revision: 285932
URL: https://svnweb.freebsd.org/changeset/base/285932

Log:
  Add bit names for the IA32_MISC_ENABLE msr.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/sys/x86/include/specialreg.h

Modified: head/sys/x86/include/specialreg.h
==============================================================================
--- head/sys/x86/include/specialreg.h	Tue Jul 28 06:50:47 2015	(r285931)
+++ head/sys/x86/include/specialreg.h	Tue Jul 28 06:55:08 2015	(r285932)
@@ -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.
  */


More information about the svn-src-head mailing list