Changeset 32908 in vbox for trunk/src/VBox/VMM/MMHyper.cpp
- Timestamp:
- Oct 5, 2010 11:52:17 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/MMHyper.cpp
r31978 r32908 75 75 uint32_t cbHyperHeap; 76 76 int rc = CFGMR3QueryU32(CFGMR3GetChild(CFGMR3GetRoot(pVM), "MM"), "cbHyperHeap", &cbHyperHeap); 77 if (rc == VERR_CFGM_NO_PARENT || rc == VERR_CFGM_VALUE_NOT_FOUND) 78 { 79 if (pVM->cCpus > 1) 80 cbHyperHeap = _2M + pVM->cCpus * _64K; 81 else 82 cbHyperHeap = VMMIsHwVirtExtForced(pVM) 83 ? 640*_1K 84 : 1280*_1K; 85 } 86 else 87 AssertLogRelRCReturn(rc, rc); 77 AssertLogRelRCReturn(rc, rc); 88 78 cbHyperHeap = RT_ALIGN_32(cbHyperHeap, PAGE_SIZE); 89 79 LogRel(("MM: cbHyperHeap=%#x (%u)\n", cbHyperHeap, cbHyperHeap));
Note:
See TracChangeset
for help on using the changeset viewer.