From: Katy Feng Date: Tue, 21 Nov 2023 20:17:25 +0000 (-0800) Subject: Change to common header file not applicable to open-vm-tools. X-Git-Tag: stable-12.4.0~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af68bed4751d1415b292d310e41f557d8c7ffcde;p=thirdparty%2Fopen-vm-tools.git Change to common header file not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/x86_basic_defs.h b/open-vm-tools/lib/include/x86_basic_defs.h index e02b30fff..cd239511d 100644 --- a/open-vm-tools/lib/include/x86_basic_defs.h +++ b/open-vm-tools/lib/include/x86_basic_defs.h @@ -78,6 +78,9 @@ #ifndef CR3_PCID_MASK #define CR3_PCID_MASK 0xFFF #endif + +#define CR3_LAM_U57 (1ULL << 61) +#define CR3_LAM_U48 (1ULL << 62) #define CR3_NO_FLUSH (1ULL << 63) #define CR4_VME 0x00000001 @@ -104,7 +107,8 @@ #define CR4_CET 0x00800000 #define CR4_PKS 0x01000000 #define CR4_UINTR 0x02000000 -#define CR4_RESERVED CONST64U(0xfffffffffe089000) +#define CR4_LAM_SUP 0x10000000 +#define CR4_RESERVED CONST64U(0xffffffffee089000) #define CR8_RESERVED CONST64U(0xfffffffffffffff0) /*