]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorJohn Wolfe <jwolfe@vmware.com>
Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)
committerJohn Wolfe <jwolfe@vmware.com>
Mon, 22 Feb 2021 17:36:59 +0000 (09:36 -0800)
open-vm-tools/lib/include/vm_basic_defs.h

index eae9d6a9431ad2abfa3099c471c01404298e4662..f7c3cd9f0552687d3b939524753ea8dd7f9d20c3 100644 (file)
@@ -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
  */