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

Konstantin Belousov kib at FreeBSD.org
Sun Aug 23 20:08:06 UTC 2020


Author: kib
Date: Sun Aug 23 20:08:05 2020
New Revision: 364522
URL: https://svnweb.freebsd.org/changeset/base/364522

Log:
  Add definition for CR4.LA57 bit.
  
  Tested by:	pho
  Sponsored by:	The FreeBSD Foundation
  Differential revision:	https://reviews.freebsd.org/D25273

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

Modified: head/sys/x86/include/specialreg.h
==============================================================================
--- head/sys/x86/include/specialreg.h	Sun Aug 23 20:06:55 2020	(r364521)
+++ head/sys/x86/include/specialreg.h	Sun Aug 23 20:08:05 2020	(r364522)
@@ -72,6 +72,7 @@
 #define	CR4_FXSR 0x00000200	/* Fast FPU save/restore used by OS */
 #define	CR4_XMM	0x00000400	/* enable SIMD/MMX2 to use except 16 */
 #define	CR4_UMIP 0x00000800	/* User Mode Instruction Prevention */
+#define	CR4_LA57 0x00001000	/* Enable 5-level paging */
 #define	CR4_VMXE 0x00002000	/* enable VMX operation (Intel-specific) */
 #define	CR4_FSGSBASE 0x00010000	/* Enable FS/GS BASE accessing instructions */
 #define	CR4_PCIDE 0x00020000	/* Enable Context ID */


More information about the svn-src-head mailing list