Changeset 20404 in vbox
- Timestamp:
- Jun 8, 2009 1:31:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMPhys.cpp
r20135 r20404 1841 1841 } 1842 1842 GMMR3FreePagesCleanup(pReq); 1843 pgmUnlock(pVM); 1843 1844 } 1844 1845 else 1845 1846 { 1847 RTGCPHYS cb = pCur->RamRange.cb; 1848 1846 1849 /* link in the ram range */ 1847 1850 pgmR3PhysLinkRamRange(pVM, &pCur->RamRange, pRamPrev); 1848 REMR3NotifyPhysRamRegister(pVM, GCPhys, pCur->RamRange.cb, REM_NOTIFY_PHYS_RAM_FLAGS_MMIO2); 1849 } 1850 pgmUnlock(pVM); 1851 pgmUnlock(pVM); 1852 1853 REMR3NotifyPhysRamRegister(pVM, GCPhys, cb, REM_NOTIFY_PHYS_RAM_FLAGS_MMIO2); 1854 } 1851 1855 1852 1856 return VINF_SUCCESS; … … 1863 1867 VMMR3DECL(int) PGMR3PhysMMIO2Unmap(PVM pVM, PPDMDEVINS pDevIns, uint32_t iRegion, RTGCPHYS GCPhys) 1864 1868 { 1869 bool fInformREM = false; 1870 RTGCPHYS GCPhysRangeREM; 1871 RTGCPHYS cbRangeREM; 1872 1865 1873 /* 1866 1874 * Validate input … … 1911 1919 else 1912 1920 { 1913 REMR3NotifyPhysRamDeregister(pVM, pCur->RamRange.GCPhys, pCur->RamRange.cb); 1921 GCPhysRangeREM = pCur->RamRange.GCPhys; 1922 cbRangeREM = pCur->RamRange.cb; 1923 fInformREM = true; 1924 1914 1925 pgmR3PhysUnlinkRamRange(pVM, &pCur->RamRange); 1915 1926 } … … 1921 1932 1922 1933 pgmUnlock(pVM); 1934 1935 if (fInformREM) 1936 REMR3NotifyPhysRamDeregister(pVM, GCPhysRangeREM, cbRangeREM); 1923 1937 1924 1938 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.