Changeset 18982 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Apr 17, 2009 8:35:26 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r18981 r18982 4001 4001 int pgmPoolFlushPage(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 4002 4002 { 4003 int rc = VINF_SUCCESS; 4003 int rc = VINF_SUCCESS; 4004 PVM pVM = pPool->CTX_SUFF(pVM); 4005 4004 4006 STAM_PROFILE_START(&pPool->StatFlushPage, f); 4005 4007 LogFlow(("pgmPoolFlushPage: pPage=%p:{.Key=%RHp, .idx=%d, .enmKind=%s, .GCPhys=%RGp}\n", … … 4019 4021 * Quietly reject any attempts at flushing the currently active shadow CR3 mapping 4020 4022 */ 4021 if (pgmPoolIsPageLocked(&p Pool->CTX_SUFF(pVM)->pgm.s, pPage))4023 if (pgmPoolIsPageLocked(&pVM->pgm.s, pPage)) 4022 4024 { 4023 4025 AssertMsg( pPage->enmKind == PGMPOOLKIND_64BIT_PML4 … … 4030 4032 || pPage->enmKind == PGMPOOLKIND_PAE_PD2_FOR_32BIT_PD 4031 4033 || pPage->enmKind == PGMPOOLKIND_PAE_PD3_FOR_32BIT_PD, 4032 ("Can't free the shadow CR3! (%RHp vs %RHp kind=%d\n", PGMGetHyperCR3(VMMGetCpu(p Pool->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)); 4033 4035 Log(("pgmPoolFlushPage: current active shadow CR3, rejected. enmKind=%s idx=%d\n", pgmPoolPoolKindToStr(pPage->enmKind), pPage->idx)); 4034 4036 return VINF_SUCCESS; … … 4037 4039 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 4038 4040 /* Start a subset so we won't run out of mapping space. */ 4039 uint32_t iPrevSubset = PGMDynMapPushAutoSubset(p Pool->CTX_SUFF(pVM));4041 uint32_t iPrevSubset = PGMDynMapPushAutoSubset(pVM); 4040 4042 #endif 4041 4043
Note:
See TracChangeset
for help on using the changeset viewer.