Changeset 90042 in vbox
- Timestamp:
- Jul 6, 2021 4:59:11 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145536
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PDMAllIommu.cpp
r90028 r90042 132 132 if (RT_SUCCESS(rc)) 133 133 { 134 Assert(cbContig > 0 && cbContig <= cbRead); 134 135 /** @todo Handle strict return codes from PGMPhysRead. */ 135 136 rc = pDevIns->CTX_SUFF(pHlp)->pfnPhysRead(pDevIns, GCPhysOut, pvBuf, cbContig, fFlags); 136 137 if (RT_SUCCESS(rc)) 137 138 { 138 Assert(cbContig <= cbRead);139 139 cbRead -= cbContig; 140 140 pvBuf = (void *)((uintptr_t)pvBuf + cbContig); … … 200 200 if (RT_SUCCESS(rc)) 201 201 { 202 Assert(cbContig > 0 && cbContig <= cbWrite); 202 203 /** @todo Handle strict return codes from PGMPhysWrite. */ 203 204 rc = pDevIns->CTX_SUFF(pHlp)->pfnPhysWrite(pDevIns, GCPhysOut, pvBuf, cbContig, fFlags); 204 205 if (RT_SUCCESS(rc)) 205 206 { 206 Assert(cbContig <= cbWrite);207 207 cbWrite -= cbContig; 208 208 pvBuf = (const void *)((uintptr_t)pvBuf + cbContig); … … 214 214 else 215 215 { 216 LogFunc(("IOMMU memory write failed. idDevice=%#x GCPhys=%#RGp cb=%zu rc=%Rrc\n", idDevice, GCPhys, cbWrite, 217 rc)); 216 LogFunc(("IOMMU memory write failed. idDevice=%#x GCPhys=%#RGp cb=%zu rc=%Rrc\n", idDevice, GCPhys, cbWrite, rc)); 218 217 break; 219 218 }
Note:
See TracChangeset
for help on using the changeset viewer.