Changeset 17547 in vbox for trunk/include/VBox
- Timestamp:
- Mar 9, 2009 2:48:02 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/gmm.h
r17432 r17547 108 108 109 109 110 /** @def GMM_GCPHYS_LAST 111 * The last of the valid guest physical address as it applies to GMM pages. 112 * 113 * This must reflect the constraints imposed by the RTGCPHYS type and 114 * the guest page frame number used internally in GMMPAGE. 115 * 116 * @note Note this corresponds to GMM_PAGE_PFN_LAST. */ 117 #if HC_ARCH_BITS == 64 118 # define GMM_GCPHYS_LAST UINT64_C(0x00000fffffff0000) /* 2^44 (16TB) - 0x10000 */ 119 #else 120 # define GMM_GCPHYS_LAST UINT64_C(0x0000000fffff0000) /* 2^36 (64GB) - 0x10000 */ 121 #endif 122 110 123 /** 111 124 * Over-commitment policy. … … 241 254 typedef GMMPAGEDESC *PGMMPAGEDESC; 242 255 243 /** GMMPAGEDESC::HCPhysGCPhys value that indicates that the page is shared. */ 244 #define GMM_GCPHYS_UNSHAREABLE (RTHCPHYS)(0xfffffff0) 256 /** GMMPAGEDESC::HCPhysGCPhys value that indicates that the page is unsharable. 257 * @note This corresponds to GMM_PAGE_PFN_UNSHAREABLE. */ 258 #if HC_ARCH_BITS == 64 259 # define GMM_GCPHYS_UNSHAREABLE UINT64_C(0x00000fffffff1000) 260 #else 261 # define GMM_GCPHYS_UNSHAREABLE UINT64_C(0x0000000fffff1000) 262 #endif 245 263 246 264 GMMR0DECL(int) GMMR0Init(void);
Note:
See TracChangeset
for help on using the changeset viewer.