- Timestamp:
- May 9, 2016 9:21:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAll.cpp
r60909 r60911 12055 12055 * Commit the pending bounce buffers (usually just one). 12056 12056 */ 12057 # ifdef VBOX_STRICT12058 12057 unsigned cBufs = 0; 12059 # endif12060 12058 unsigned iMemMap = RT_ELEMENTS(pIemCpu->aMemMappings); 12061 12059 while (iMemMap-- > 0) 12060 { 12062 12061 if (pIemCpu->aMemMappings[iMemMap].fAccess & (IEM_ACCESS_PENDING_R3_WRITE_1ST | IEM_ACCESS_PENDING_R3_WRITE_2ND)) 12063 12062 { … … 12095 12094 VBOXSTRICTRC_VAL(rcStrictCommit2), VBOXSTRICTRC_VAL(rcStrict))); 12096 12095 } 12097 # ifdef VBOX_STRICT12098 12096 cBufs++; 12099 # endif12100 12097 } 12101 12102 AssertMsg(cBufs > 0, ("%#x %#x %#x\n", pIemCpu->aMemMappings[0].fAccess, pIemCpu->aMemMappings[1].fAccess, 12103 pIemCpu->aMemMappings[2].fAccess)); 12098 else 12099 AssertMsg(pIemCpu->aMemMappings[iMemMap].fAccess == IEM_ACCESS_INVALID, 12100 ("iMemMap=%u: %#x\n", iMemMap, pIemCpu->aMemMappings[iMemMap].fAccess)); 12101 pIemCpu->aMemMappings[iMemMap].fAccess = IEM_ACCESS_INVALID; 12102 } 12103 12104 AssertMsg(cBufs > 0 && cBufs == pIemCpu->cActiveMappings, 12105 ("cBufs=%u cActiveMappings=%u - %#x %#x %#x\n", cBufs, pIemCpu->cActiveMappings, 12106 pIemCpu->aMemMappings[0].fAccess, pIemCpu->aMemMappings[1].fAccess, pIemCpu->aMemMappings[2].fAccess)); 12107 pIemCpu->cActiveMappings = 0; 12104 12108 return rcStrict; 12105 12109 }
Note:
See TracChangeset
for help on using the changeset viewer.