From 4ba405dcdbf0abf9e142fc0b9c3c866359bf4c57 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 23 Aug 2020 20:08:05 +0000 Subject: [PATCH] Add definition for CR4.LA57 bit. Tested by: pho Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D25273 --- sys/x86/include/specialreg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/specialreg.h index 16010bf76b46..5098e6785053 100644 --- a/sys/x86/include/specialreg.h +++ b/sys/x86/include/specialreg.h @@ -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 */