VirtualBox

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


Ignore:
Timestamp:
Dec 13, 2008 10:46:49 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
40881
Message:

Move the flush all subset.

File:
1 edited

Legend:

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

    r15425 r15430  
    36143614static void pgmPoolFlushAllSpecialRoots(PPGMPOOL pPool)
    36153615{
     3616#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
     3617    /* Start a subset so we won't run out of mapping space. */
     3618    PVMCPU pVCpu = VMMGetCpu(pPool->CTX_SUFF(pVM));
     3619    uint32_t iPrevSubset = PGMDynMapPushAutoSubset(pVCpu);
     3620#endif
     3621
    36163622    /*
    36173623     * These special pages are all mapped into the indexes 1..PGMPOOL_IDX_FIRST.
     
    36643670     */
    36653671    VM_FF_SET(pPool->CTX_SUFF(pVM), VM_FF_PGM_SYNC_CR3);
     3672
     3673#ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
     3674    /* Pop the subset. */
     3675    PGMDynMapPopAutoSubset(pVCpu, iPrevSubset);
     3676#endif
    36663677}
    36673678
     
    36883699        return;
    36893700    }
    3690 
    3691 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
    3692     /* Start a subset so we won't run out of mapping space. */
    3693     PVMCPU pVCpu = VMMGetCpu(pPool->CTX_SUFF(pVM));
    3694     uint32_t iPrevSubset = PGMDynMapPushAutoSubset(pVCpu);
    3695 #endif
    36963701
    36973702    /*
     
    38363841    }
    38373842
    3838 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0
    3839     /* Pop the subset. */
    3840     PGMDynMapPopAutoSubset(pVCpu, iPrevSubset);
    3841 #endif
    3842 
    38433843    /*
    38443844     * Finally, assert the FF.
Note: See TracChangeset for help on using the changeset viewer.

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