VirtualBox

Changeset 27813 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Mar 30, 2010 8:40:29 AM (15 years ago)
Author:
vboxsync
Message:

Backed out r59424

File:
1 edited

Legend:

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

    r27784 r27813  
    18151815    int rc;
    18161816
    1817     pgmLock(pVM);
    1818 
    18191817# ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT
    18201818    PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool);
     
    18291827    rc = pgmPoolSyncCR3(pVCpu);
    18301828    if (rc != VINF_SUCCESS)
    1831     {
    1832         pgmUnlock(pVM);
    18331829        return rc;
    1834     }
    18351830
    18361831    /*
     
    18471842        VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_PGM_SYNC_CR3);
    18481843        VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_PGM_SYNC_CR3_NON_GLOBAL);
    1849         pgmUnlock(pVM);
    18501844        return VINF_SUCCESS;
    18511845    }
     
    18971891            if (rc == VINF_PGM_SYNC_CR3)
    18981892                pVCpu->pgm.s.GCPhysCR3 = GCPhysCR3Old;
    1899             pgmUnlock(pVM);
    19001893            return VINF_PGM_SYNC_CR3;
    19011894#endif
    19021895        }
    1903         if (rc != VINF_SUCCESS)
    1904         {
    1905             pgmUnlock(pVM);
    1906             AssertFailed();
    1907             return RT_FAILURE(rc) ? rc : VERR_INTERNAL_ERROR;
    1908         }
     1896        AssertRCReturn(rc, rc);
     1897        AssertRCSuccessReturn(rc, VERR_INTERNAL_ERROR);
    19091898    }
    19101899
     
    19391928    if (rc == VINF_SUCCESS)
    19401929        PGM_INVL_VCPU_TLBS(pVCpu);
    1941 
    1942     pgmUnlock(pVM);
    19431930    return rc;
    19441931}
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