Changeset 40 in vbox
- Timestamp:
- Jan 15, 2007 5:44:46 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 17469
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGM.cpp
r39 r40 1600 1600 if (pRam->fFlags & MM_RAM_FLAGS_DYNAMIC_ALLOC) 1601 1601 { 1602 bool fPreAlloc = false;1603 1604 rc = CFGMR3QueryBool(CFGMR3GetRoot(pVM), "PreAlloc", &fPreAlloc);1605 if (rc == VERR_CFGM_VALUE_NOT_FOUND)1606 fPreAlloc = false;1607 1608 1602 for (unsigned iChunk = 0; iChunk < (pRam->cb >> PGM_DYNAMIC_CHUNK_SHIFT); iChunk++) 1609 1603 { … … 1618 1612 if (fValidChunk) 1619 1613 { 1620 /* The first chunk is always present. (all chunks are present if guest ram is preallocated) */ 1621 if ( iChunk != 0 1622 && !fPreAlloc) 1614 if (!pRam->pavHCChunkHC[iChunk]) 1623 1615 { 1624 1616 rc = pgmr3PhysGrowRange(pVM, pRam->GCPhys + iChunk * PGM_DYNAMIC_CHUNK_SIZE);
Note:
See TracChangeset
for help on using the changeset viewer.