Changeset 48410 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Sep 10, 2013 2:22:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r48018 r48410 1759 1759 VMMDECL(VBOXSTRICTRC) IOMMMIOPhysHandler(PVM pVM, PVMCPU pVCpu, RTGCUINT uErrorCode, PCPUMCTXCORE pCtxCore, RTGCPHYS GCPhysFault) 1760 1760 { 1761 /* 1762 * We don't have a range here, so look it up before calling the common function. 1763 */ 1761 1764 int rc2 = IOM_LOCK_SHARED(pVM); NOREF(rc2); 1762 1765 #ifndef IN_RING3 … … 1764 1767 return VINF_IOM_R3_MMIO_READ_WRITE; 1765 1768 #endif 1766 VBOXSTRICTRC rcStrict = iomMMIOHandler(pVM, pVCpu, (uint32_t)uErrorCode, pCtxCore, GCPhysFault, 1767 iomMmioGetRange(pVM, pVCpu, GCPhysFault)); 1769 PIOMMMIORANGE pRange = iomMmioGetRange(pVM, pVCpu, GCPhysFault); 1770 if (RT_UNLIKELY(!pRange)) 1771 { 1772 IOM_UNLOCK_SHARED(pVM); 1773 return VERR_IOM_MMIO_RANGE_NOT_FOUND; 1774 } 1775 iomMmioRetainRange(pRange); 1768 1776 IOM_UNLOCK_SHARED(pVM); 1777 1778 VBOXSTRICTRC rcStrict = iomMMIOHandler(pVM, pVCpu, (uint32_t)uErrorCode, pCtxCore, GCPhysFault, pRange); 1779 1780 iomMmioReleaseRange(pVM, pRange); 1769 1781 return VBOXSTRICTRC_VAL(rcStrict); 1770 1782 }
Note:
See TracChangeset
for help on using the changeset viewer.