Changeset 27778 in vbox
- Timestamp:
- Mar 29, 2010 11:24:13 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r27408 r27778 1815 1815 int rc; 1816 1816 1817 pgmLock(pVM); 1818 1817 1819 /* 1818 1820 * The pool may have pending stuff and even require a return to ring-3 to … … 1821 1823 rc = pgmPoolSyncCR3(pVCpu); 1822 1824 if (rc != VINF_SUCCESS) 1825 { 1826 pgmUnlock(pVM); 1823 1827 return rc; 1828 } 1824 1829 1825 1830 /* … … 1836 1841 VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_PGM_SYNC_CR3); 1837 1842 VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_PGM_SYNC_CR3_NON_GLOBAL); 1843 pgmUnlock(pVM); 1838 1844 return VINF_SUCCESS; 1839 1845 } … … 1885 1891 if (rc == VINF_PGM_SYNC_CR3) 1886 1892 pVCpu->pgm.s.GCPhysCR3 = GCPhysCR3Old; 1893 pgmUnlock(pVM); 1887 1894 return VINF_PGM_SYNC_CR3; 1888 1895 #endif 1889 1896 } 1890 AssertRCReturn(rc, rc); 1891 AssertRCSuccessReturn(rc, VERR_INTERNAL_ERROR); 1897 if (rc != VINF_SUCCESS) 1898 { 1899 pgmUnlock(pVM); 1900 AssertFailed(); 1901 return RT_FAILURE(rc) ? rc : VERR_INTERNAL_ERROR; 1902 } 1892 1903 } 1893 1904 … … 1922 1933 if (rc == VINF_SUCCESS) 1923 1934 PGM_INVL_VCPU_TLBS(pVCpu); 1935 1936 pgmUnlock(pVM); 1924 1937 return rc; 1925 1938 }
Note:
See TracChangeset
for help on using the changeset viewer.