From: John Wolfe Date: Mon, 22 Feb 2021 17:36:59 +0000 (-0800) Subject: Common header file change not applicable to open-vm-tools. X-Git-Tag: stable-11.3.0~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51328a83a99526be033774c32ef78934b0a4f6e2;p=thirdparty%2Fopen-vm-tools.git Common header file change not applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/vm_basic_defs.h b/open-vm-tools/lib/include/vm_basic_defs.h index eae9d6a94..f7c3cd9f0 100644 --- a/open-vm-tools/lib/include/vm_basic_defs.h +++ b/open-vm-tools/lib/include/vm_basic_defs.h @@ -398,6 +398,14 @@ Max(int a, int b) #define VM_1GB_2_PDIRS (VM_1GB_PAGE_SIZE / VM_PAE_LARGE_PAGE_SIZE) #endif +#define PAGE_SIZE_4KB 0x1000 +#define PAGE_MASK_4KB (PAGE_SIZE_4KB - 1) +#define PAGE_SHIFT_4KB 12 + +#define PAGE_SIZE_16KB 0x4000 +#define PAGE_MASK_16KB (PAGE_SIZE_16KB - 1) +#define PAGE_SHIFT_16KB 14 + /* * Word operations */