VirtualBox

Changeset 17059 in vbox


Ignore:
Timestamp:
Feb 24, 2009 12:24:44 PM (16 years ago)
Author:
vboxsync
Message:

Updates

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r17058 r17059  
    22272227    unsigned iPage;
    22282228
     2229    Assert(GCPage >= pVM->pgm.s.pbDynPageMapBaseGC && GCPage < (pVM->pgm.s.pbDynPageMapBaseGC + MM_HYPER_DYNAMIC_SIZE));
    22292230    iPage = ((uintptr_t)(GCPage - pVM->pgm.s.pbDynPageMapBaseGC)) >> PAGE_SHIFT;
    22302231    Assert(!(pVM->pgm.s.paDynPageMap32BitPTEsGC[iPage].u & PGM_PTFLAGS_DYN_LOCKED));
     
    22442245    unsigned iPage;
    22452246
     2247    Assert(GCPage >= pVM->pgm.s.pbDynPageMapBaseGC && GCPage < (pVM->pgm.s.pbDynPageMapBaseGC + MM_HYPER_DYNAMIC_SIZE));
    22462248    iPage = ((uintptr_t)(GCPage - pVM->pgm.s.pbDynPageMapBaseGC)) >> PAGE_SHIFT;
    22472249    Assert(pVM->pgm.s.paDynPageMap32BitPTEsGC[iPage].u & PGM_PTFLAGS_DYN_LOCKED);
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r17058 r17059  
    24582458# if defined(IN_RC) && defined(VBOX_WITH_PGMPOOL_PAGING_ONLY)
    24592459    /* Make sure the dynamic pPdeDst mapping will not be reused during this function. */
    2460     PGMDynLockHCPage(pVM, pPdeDst);
     2460    PGMDynLockHCPage(pVM, (uint8_t *)pPdeDst);
    24612461# endif
    24622462
     
    25282528            *pPdeDst = PdeDst;
    25292529# if defined(IN_RC) && defined(VBOX_WITH_PGMPOOL_PAGING_ONLY)
    2530             PGMDynUnlockHCPage(pVM, pPdeDst);
     2530            PGMDynUnlockHCPage(pVM, (uint8_t *)pPdeDst);
    25312531# endif
    25322532            return VINF_SUCCESS;
     
    25362536            VM_FF_SET(pVM, VM_FF_PGM_SYNC_CR3);
    25372537# if defined(IN_RC) && defined(VBOX_WITH_PGMPOOL_PAGING_ONLY)
    2538             PGMDynUnlockHCPage(pVM, pPdeDst);
     2538            PGMDynUnlockHCPage(pVM, (uint8_t *)pPdeDst);
    25392539# endif
    25402540            return VINF_PGM_SYNC_CR3;
     
    25692569                *pPdeDst = PdeDst;
    25702570# if defined(IN_RC) && defined(VBOX_WITH_PGMPOOL_PAGING_ONLY)           
    2571                 PGMDynUnlockHCPage(pVM, pPdeDst);
     2571                PGMDynUnlockHCPage(pVM, (uint8_t *)pPdeDst);
    25722572# endif
    25732573
     
    26752675            *pPdeDst = PdeDst;
    26762676# if defined(IN_RC) && defined(VBOX_WITH_PGMPOOL_PAGING_ONLY)           
    2677             PGMDynUnlockHCPage(pVM, pPdeDst);
     2677            PGMDynUnlockHCPage(pVM, (uint8_t *)pPdeDst);
    26782678# endif
    26792679
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette