Changeset 41771 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jun 15, 2012 8:08:45 PM (13 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CSAM.cpp
r41769 r41771 746 746 if (cbRead >= cbMinRead) 747 747 { 748 pDis->cbCachedInstr = offInstr + cbRead;748 pDis->cbCachedInstr = offInstr + (uint8_t)cbRead; 749 749 return rc; 750 750 } 751 751 752 cbMinRead -= cbRead;753 cbMaxRead -= cbRead;754 offInstr += cbRead;752 cbMinRead -= (uint8_t)cbRead; 753 cbMaxRead -= (uint8_t)cbRead; 754 offInstr += (uint8_t)cbRead; 755 755 uSrcAddr += cbRead; 756 756 } -
trunk/src/VBox/VMM/VMMR3/PATM.cpp
r41770 r41771 556 556 if (cbRead >= cbMinRead) 557 557 { 558 pDis->cbCachedInstr = offInstr + cbRead;558 pDis->cbCachedInstr = offInstr + (uint8_t)cbRead; 559 559 return VINF_SUCCESS; 560 560 } 561 561 562 cbMinRead -= cbRead;563 cbMaxRead -= cbRead;564 offInstr += cbRead;562 cbMinRead -= (uint8_t)cbRead; 563 cbMaxRead -= (uint8_t)cbRead; 564 offInstr += (uint8_t)cbRead; 565 565 uSrcAddr += cbRead; 566 566 }
Note:
See TracChangeset
for help on using the changeset viewer.