From: VMware, Inc <> Date: Tue, 13 Mar 2012 20:08:57 +0000 (-0700) Subject: Widen MainMem pagenums. X-Git-Tag: 2012.03.13-651368~38 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=568df879d1e5fa55d78271f2f49faa2024c79589;p=thirdparty%2Fopen-vm-tools.git Widen MainMem pagenums. 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 --- diff --git a/open-vm-tools/lib/include/vm_basic_types.h b/open-vm-tools/lib/include/vm_basic_types.h index 719e9d3f2..f163659e0 100644 --- a/open-vm-tools/lib/include/vm_basic_types.h +++ b/open-vm-tools/lib/include/vm_basic_types.h @@ -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)