VirtualBox

Changeset 18982 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Apr 17, 2009 8:35:26 AM (16 years ago)
Author:
vboxsync
Message:

Compile fix

File:
1 edited

Legend:

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

    r18981 r18982  
    40014001int pgmPoolFlushPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage)
    40024002{
    4003     int rc = VINF_SUCCESS;
     4003    int rc  = VINF_SUCCESS;
     4004    PVM pVM = pPool->CTX_SUFF(pVM);
     4005
    40044006    STAM_PROFILE_START(&pPool->StatFlushPage, f);
    40054007    LogFlow(("pgmPoolFlushPage: pPage=%p:{.Key=%RHp, .idx=%d, .enmKind=%s, .GCPhys=%RGp}\n",
     
    40194021     * Quietly reject any attempts at flushing the currently active shadow CR3 mapping
    40204022     */
    4021     if (pgmPoolIsPageLocked(&pPool->CTX_SUFF(pVM)->pgm.s, pPage))
     4023    if (pgmPoolIsPageLocked(&pVM->pgm.s, pPage))
    40224024    {
    40234025        AssertMsg(   pPage->enmKind == PGMPOOLKIND_64BIT_PML4
     
    40304032                  || pPage->enmKind == PGMPOOLKIND_PAE_PD2_FOR_32BIT_PD
    40314033                  || pPage->enmKind == PGMPOOLKIND_PAE_PD3_FOR_32BIT_PD,
    4032                   ("Can't free the shadow CR3! (%RHp vs %RHp kind=%d\n", PGMGetHyperCR3(VMMGetCpu(pPool->CTX_SUFF(pVM))), pPage->Core.Key, pPage->enmKind));
     4034                  ("Can't free the shadow CR3! (%RHp vs %RHp kind=%d\n", PGMGetHyperCR3(VMMGetCpu(pVM)), pPage->Core.Key, pPage->enmKind));
    40334035        Log(("pgmPoolFlushPage: current active shadow CR3, rejected. enmKind=%s idx=%d\n", pgmPoolPoolKindToStr(pPage->enmKind), pPage->idx));
    40344036        return VINF_SUCCESS;
     
    40374039#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
    40384040    /* Start a subset so we won't run out of mapping space. */
    4039     uint32_t iPrevSubset = PGMDynMapPushAutoSubset(pPool->CTX_SUFF(pVM));
     4041    uint32_t iPrevSubset = PGMDynMapPushAutoSubset(pVM);
    40404042#endif
    40414043
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