]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Widen MainMem pagenums.
authorVMware, Inc <>
Tue, 13 Mar 2012 20:08:57 +0000 (13:08 -0700)
committerDmitry Torokhov <dtor@vmware.com>
Wed, 14 Mar 2012 16:04:59 +0000 (09:04 -0700)
This change widens the MainMem pagenums to 30 bits, in order to
support up to 4TB of vRAM. BPN_MAINMEM_TAG is bit 30 now. For
non-mainMem BPNs, the slot bits move into bits 23-29.

No monitor size change.

Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/lib/include/vm_basic_types.h

index 719e9d3f2c661178a8f462207709192cf18b0357..f163659e001aa6c604ba2680e6d26633863e8053 100644 (file)
@@ -574,7 +574,7 @@ typedef void * UserVA;
 #define INVALID_PPN       ((PPN)0xffffffff)
 #define APIC_INVALID_PPN  ((PPN)0xfffffffe)
 
-#define INVALID_BPN       ((BPN)0x1fffffff)
+#define INVALID_BPN       ((BPN)0x3fffffff)
 
 #define RESERVED_MPN      ((MPN) 0)
 #define INVALID_MPN       ((MPN)-1)