Changeset 27813 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Mar 30, 2010 8:40:29 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r27784 r27813 1815 1815 int rc; 1816 1816 1817 pgmLock(pVM);1818 1819 1817 # ifdef PGMPOOL_WITH_OPTIMIZED_DIRTY_PT 1820 1818 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); … … 1829 1827 rc = pgmPoolSyncCR3(pVCpu); 1830 1828 if (rc != VINF_SUCCESS) 1831 {1832 pgmUnlock(pVM);1833 1829 return rc; 1834 }1835 1830 1836 1831 /* … … 1847 1842 VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_PGM_SYNC_CR3); 1848 1843 VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_PGM_SYNC_CR3_NON_GLOBAL); 1849 pgmUnlock(pVM);1850 1844 return VINF_SUCCESS; 1851 1845 } … … 1897 1891 if (rc == VINF_PGM_SYNC_CR3) 1898 1892 pVCpu->pgm.s.GCPhysCR3 = GCPhysCR3Old; 1899 pgmUnlock(pVM);1900 1893 return VINF_PGM_SYNC_CR3; 1901 1894 #endif 1902 1895 } 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); 1909 1898 } 1910 1899 … … 1939 1928 if (rc == VINF_SUCCESS) 1940 1929 PGM_INVL_VCPU_TLBS(pVCpu); 1941 1942 pgmUnlock(pVM);1943 1930 return rc; 1944 1931 }
Note:
See TracChangeset
for help on using the changeset viewer.