Changeset 93554 in vbox for trunk/src/VBox/VMM/VMMR3/MMPagePool.cpp
- Timestamp:
- Feb 2, 2022 10:57:02 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 149688
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/MMPagePool.cpp
r93115 r93554 43 43 if (!pVM->mm.s.pvDummyPage) 44 44 { 45 int rc = MMHyperAlloc(pVM, PAGE_SIZE, PAGE_SIZE, MM_TAG_PGM, &pVM->mm.s.pvDummyPage); 45 /** @todo Redo this. */ 46 int rc = MMHyperAlloc(pVM, RT_MAX(GUEST_PAGE_SIZE, HOST_PAGE_SIZE), GUEST_PAGE_SIZE, MM_TAG_PGM, &pVM->mm.s.pvDummyPage); 46 47 AssertRelease(RT_SUCCESS(rc)); 47 48 AssertRelease(pVM->mm.s.pvDummyPage);
Note:
See TracChangeset
for help on using the changeset viewer.