Changeset 17431 in vbox
- Timestamp:
- Mar 6, 2009 2:02:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GMMR0.cpp
r17421 r17431 304 304 /** @def GMM_PAGE_IS_PRIVATE 305 305 * 306 * @returns true if free, false if not.306 * @returns true if private, false if not. 307 307 * @param pPage The GMM page. 308 308 */ … … 313 313 #endif 314 314 315 /** @def GMM_PAGE_IS_ FREE316 * 317 * @returns true if free, false if not.315 /** @def GMM_PAGE_IS_SHARED 316 * 317 * @returns true if shared, false if not. 318 318 * @param pPage The GMM page. 319 319 */ … … 1521 1521 1522 1522 /** 1523 * Allocates one p age.1523 * Allocates one private page. 1524 1524 * 1525 1525 * Worker for gmmR0AllocatePages. … … 1537 1537 Assert(pChunk->cFree); 1538 1538 pChunk->cFree--; 1539 pChunk->cPrivate++; 1539 1540 1540 1541 /* unlink the first free page. */ … … 2260 2261 switch (enmAccount) 2261 2262 { 2262 case GMMACCOUNT_BASE: pGVM->gmm.s.Allocated.cBasePages -= iPage; 2263 case GMMACCOUNT_SHADOW: pGVM->gmm.s.Allocated.cShadowPages -= iPage; 2264 case GMMACCOUNT_FIXED: pGVM->gmm.s.Allocated.cFixedPages -= iPage; 2263 case GMMACCOUNT_BASE: pGVM->gmm.s.Allocated.cBasePages -= iPage; break; 2264 case GMMACCOUNT_SHADOW: pGVM->gmm.s.Allocated.cShadowPages -= iPage; break; 2265 case GMMACCOUNT_FIXED: pGVM->gmm.s.Allocated.cFixedPages -= iPage; break; 2265 2266 default: 2266 2267 AssertMsgFailedReturn(("enmAccount=%d\n", enmAccount), VERR_INTERNAL_ERROR);
Note:
See TracChangeset
for help on using the changeset viewer.