Changeset 4761 in vbox
- Timestamp:
- Sep 13, 2007 8:55:22 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 24444
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/MMPagePool.cpp
r4760 r4761 61 61 * Allocate the pool structures. 62 62 */ 63 int rc = SUPPageAlloc(RT_ALIGN_32(sizeof(*pVM->mm.s.pPagePool), PAGE_SIZE) , (void **)&pVM->mm.s.pPagePool);63 int rc = SUPPageAlloc(RT_ALIGN_32(sizeof(*pVM->mm.s.pPagePool), PAGE_SIZE)/PAGE_SIZE, (void **)&pVM->mm.s.pPagePool); 64 64 if (VBOX_FAILURE(rc)) 65 65 return rc; … … 74 74 STAM_REG(pVM, &pVM->mm.s.pPagePool->cErrors, STAMTYPE_COUNTER, "/MM/Page/Def/cErrors", STAMUNIT_ERRORS,"Number of errors for the default pool."); 75 75 76 rc = SUPPageAlloc(RT_ALIGN_32(sizeof(*pVM->mm.s.pPagePoolLow), PAGE_SIZE) , (void **)&pVM->mm.s.pPagePoolLow);76 rc = SUPPageAlloc(RT_ALIGN_32(sizeof(*pVM->mm.s.pPagePoolLow), PAGE_SIZE)/PAGE_SIZE, (void **)&pVM->mm.s.pPagePoolLow); 77 77 if (VBOX_FAILURE(rc)) 78 78 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.