Changeset 4769 in vbox
- Timestamp:
- Sep 13, 2007 11:52:44 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 24457
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/MMPagePool.cpp
r4768 r4769 218 218 */ 219 219 unsigned cPages = !pPool->fLow ? 128 : 32; 220 #if 1221 220 PMMPAGESUBPOOL pSub; 222 221 int rc = MMHyperAlloc(pPool->pVM, … … 228 227 (void **)&pSub); 229 228 if (VBOX_FAILURE(rc)) 230 return NULL;231 #else232 PMMPAGESUBPOOL pSub = (PMMPAGESUBPOOL)MMR3HeapAlloc(pPool->pVM, MM_TAG_MM_PAGE,233 RT_OFFSETOF(MMPAGESUBPOOL, auBitmap[cPages / (sizeof(pSub->auBitmap[0] * 8))])234 + (sizeof(SUPPAGE) + sizeof(MMPPLOOKUPHCPHYS)) * cPages235 + sizeof(MMPPLOOKUPHCPTR));236 #endif237 if (!pSub)238 229 return NULL; 239 230
Note:
See TracChangeset
for help on using the changeset viewer.