Changeset 41692 in vbox for trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
- Timestamp:
- Jun 13, 2012 7:32:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IOMAllMMIO.cpp
r41678 r41692 934 934 * Get bytes/words/dwords/qwords count to copy. 935 935 */ 936 uint64_t const fAddrMask = iomDisModeToMask( pCpu->addrmode);936 uint64_t const fAddrMask = iomDisModeToMask((DISCPUMODE)pCpu->addrmode); 937 937 RTGCUINTREG cTransfers = 1; 938 938 if (pCpu->prefix & DISPREFIX_REP) … … 1078 1078 if (rc == VINF_SUCCESS) 1079 1079 { 1080 uint64_t const fAddrMask = iomDisModeToMask( pCpu->addrmode);1080 uint64_t const fAddrMask = iomDisModeToMask((DISCPUMODE)pCpu->addrmode); 1081 1081 pRegFrame->rsi = ((pRegFrame->rsi + offIncrement) & fAddrMask) 1082 1082 | (pRegFrame->rsi & ~fAddrMask); … … 2156 2156 } 2157 2157 2158 return IOMInterpretINSEx(pVM, pRegFrame, Port, pCpu->prefix, pCpu->addrmode, cb);2158 return IOMInterpretINSEx(pVM, pRegFrame, Port, pCpu->prefix, (DISCPUMODE)pCpu->addrmode, cb); 2159 2159 } 2160 2160 … … 2325 2325 } 2326 2326 2327 return IOMInterpretOUTSEx(pVM, pRegFrame, Port, pCpu->prefix, pCpu->addrmode, cb);2327 return IOMInterpretOUTSEx(pVM, pRegFrame, Port, pCpu->prefix, (DISCPUMODE)pCpu->addrmode, cb); 2328 2328 } 2329 2329
Note:
See TracChangeset
for help on using the changeset viewer.