Changeset 17059 in vbox
- Timestamp:
- Feb 24, 2009 12:24:44 PM (16 years ago)
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r17058 r17059 2227 2227 unsigned iPage; 2228 2228 2229 Assert(GCPage >= pVM->pgm.s.pbDynPageMapBaseGC && GCPage < (pVM->pgm.s.pbDynPageMapBaseGC + MM_HYPER_DYNAMIC_SIZE)); 2229 2230 iPage = ((uintptr_t)(GCPage - pVM->pgm.s.pbDynPageMapBaseGC)) >> PAGE_SHIFT; 2230 2231 Assert(!(pVM->pgm.s.paDynPageMap32BitPTEsGC[iPage].u & PGM_PTFLAGS_DYN_LOCKED)); … … 2244 2245 unsigned iPage; 2245 2246 2247 Assert(GCPage >= pVM->pgm.s.pbDynPageMapBaseGC && GCPage < (pVM->pgm.s.pbDynPageMapBaseGC + MM_HYPER_DYNAMIC_SIZE)); 2246 2248 iPage = ((uintptr_t)(GCPage - pVM->pgm.s.pbDynPageMapBaseGC)) >> PAGE_SHIFT; 2247 2249 Assert(pVM->pgm.s.paDynPageMap32BitPTEsGC[iPage].u & PGM_PTFLAGS_DYN_LOCKED); -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r17058 r17059 2458 2458 # if defined(IN_RC) && defined(VBOX_WITH_PGMPOOL_PAGING_ONLY) 2459 2459 /* Make sure the dynamic pPdeDst mapping will not be reused during this function. */ 2460 PGMDynLockHCPage(pVM, pPdeDst);2460 PGMDynLockHCPage(pVM, (uint8_t *)pPdeDst); 2461 2461 # endif 2462 2462 … … 2528 2528 *pPdeDst = PdeDst; 2529 2529 # if defined(IN_RC) && defined(VBOX_WITH_PGMPOOL_PAGING_ONLY) 2530 PGMDynUnlockHCPage(pVM, pPdeDst);2530 PGMDynUnlockHCPage(pVM, (uint8_t *)pPdeDst); 2531 2531 # endif 2532 2532 return VINF_SUCCESS; … … 2536 2536 VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3); 2537 2537 # if defined(IN_RC) && defined(VBOX_WITH_PGMPOOL_PAGING_ONLY) 2538 PGMDynUnlockHCPage(pVM, pPdeDst);2538 PGMDynUnlockHCPage(pVM, (uint8_t *)pPdeDst); 2539 2539 # endif 2540 2540 return VINF_PGM_SYNC_CR3; … … 2569 2569 *pPdeDst = PdeDst; 2570 2570 # if defined(IN_RC) && defined(VBOX_WITH_PGMPOOL_PAGING_ONLY) 2571 PGMDynUnlockHCPage(pVM, pPdeDst);2571 PGMDynUnlockHCPage(pVM, (uint8_t *)pPdeDst); 2572 2572 # endif 2573 2573 … … 2675 2675 *pPdeDst = PdeDst; 2676 2676 # if defined(IN_RC) && defined(VBOX_WITH_PGMPOOL_PAGING_ONLY) 2677 PGMDynUnlockHCPage(pVM, pPdeDst);2677 PGMDynUnlockHCPage(pVM, (uint8_t *)pPdeDst); 2678 2678 # endif 2679 2679
Note:
See TracChangeset
for help on using the changeset viewer.