Changeset 4763 in vbox
- Timestamp:
- Sep 13, 2007 9:36:50 AM (17 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CFGMInternal.h
r4071 r4763 138 138 139 139 /** Pointer to root node. */ 140 HCPTRTYPE(PCFGMNODE) pRoot;140 R3PTRTYPE(PCFGMNODE) pRoot; 141 141 } CFGM; 142 142 -
trunk/src/VBox/VMM/MMPagePool.cpp
r4762 r4763 61 61 * Allocate the pool structures. 62 62 */ 63 int rc = SUPPageAlloc(RT_ALIGN_32(sizeof(*pVM->mm.s.pPagePool), PAGE_SIZE)/PAGE_SIZE, (void **)&pVM->mm.s.pPagePool);63 int rc = MMHyperAlloc(pVM, sizeof(*pVM->mm.s.pPagePool), 0, MM_TAG_MM_PAGE, (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)/PAGE_SIZE, (void **)&pVM->mm.s.pPagePoolLow);76 rc = MMHyperAlloc(pVM, sizeof(*pVM->mm.s.pPagePoolLow), 0, MM_TAG_MM_PAGE, (void **)&pVM->mm.s.pPagePoolLow); 77 77 if (VBOX_FAILURE(rc)) 78 78 return rc; … … 120 120 pSubPool = pSubPool->pNext; 121 121 } 122 123 SUPPageFree(pVM->mm.s.pPagePool, RT_ALIGN_32(sizeof(*pVM->mm.s.pPagePool), PAGE_SIZE)/PAGE_SIZE);124 122 pVM->mm.s.pPagePool = NULL; 125 123 } … … 141 139 pSubPool = pSubPool->pNext; 142 140 } 143 144 SUPPageFree(pVM->mm.s.pPagePoolLow, RT_ALIGN_32(sizeof(*pVM->mm.s.pPagePoolLow), PAGE_SIZE)/PAGE_SIZE);145 141 pVM->mm.s.pPagePoolLow = NULL; 146 142 }
Note:
See TracChangeset
for help on using the changeset viewer.