Changeset 13816 in vbox for trunk/src/VBox/VMM/MMPagePool.cpp
- Timestamp:
- Nov 4, 2008 10:52:12 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38807
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/MMPagePool.cpp
r12989 r13816 69 69 AssertReleaseReturn(sizeof(*pVM->mm.s.pPagePoolR3) + sizeof(*pVM->mm.s.pPagePoolLowR3) < PAGE_SIZE, VERR_INTERNAL_ERROR); 70 70 int rc = SUPPageAllocLocked(1, (void **)&pVM->mm.s.pPagePoolR3); 71 if ( VBOX_FAILURE(rc))71 if (RT_FAILURE(rc)) 72 72 return rc; 73 73 memset(pVM->mm.s.pPagePoolR3, 0, PAGE_SIZE); … … 238 238 MM_TAG_MM_PAGE, 239 239 (void **)&pSub); 240 if ( VBOX_FAILURE(rc))240 if (RT_FAILURE(rc)) 241 241 return NULL; 242 242 … … 249 249 */ 250 250 rc = SUPPageAlloc(cPages, &pSub->pvPages); 251 if ( VBOX_SUCCESS(rc))251 if (RT_SUCCESS(rc)) 252 252 { 253 253 rc = SUPPageLock(pSub->pvPages, cPages, paPhysPages); 254 if ( VBOX_FAILURE(rc))254 if (RT_FAILURE(rc)) 255 255 { 256 256 SUPPageFree(pSub->pvPages, cPages); … … 262 262 else 263 263 rc = SUPLowAlloc(cPages, &pSub->pvPages, NULL, paPhysPages); 264 if ( VBOX_SUCCESS(rc))264 if (RT_SUCCESS(rc)) 265 265 { 266 266 /*
Note:
See TracChangeset
for help on using the changeset viewer.