Changeset 53575 in vbox for trunk/src/VBox
- Timestamp:
- Dec 19, 2014 11:11:17 AM (10 years ago)
- Location:
- trunk/src/VBox/ValidationKit/utils/cpu
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/cpu/cidet-app.cpp
r53564 r53575 618 618 * Do we need to use the low buffer? Check that we have one, if we need it. 619 619 */ 620 bool fUseNormal = pThis->cbAddrMode == ARCH_BITS ;620 bool fUseNormal = pThis->cbAddrMode == ARCH_BITS / 8; 621 621 if (!fUseNormal && !pAppBuf->pbLow) 622 622 return false; -
trunk/src/VBox/ValidationKit/utils/cpu/cidet-core.cpp
r53565 r53575 1679 1679 if (iMemBaseReg != UINT8_MAX) 1680 1680 { 1681 if (pThis->cbAddrMode == 32)1681 if (pThis->cbAddrMode == 4) 1682 1682 { 1683 1683 pThis->aOperands[idxOp].uMemBaseRegValue &= UINT32_MAX; 1684 1684 pThis->aOperands[idxOp].uMemBaseRegValue |= pThis->InCtx.aGRegs[iMemBaseReg] & UINT64_C(0xffffffff00000000); 1685 1685 } 1686 else if (pThis->cbAddrMode == 16)1686 else if (pThis->cbAddrMode == 2) 1687 1687 { 1688 1688 pThis->aOperands[idxOp].uMemBaseRegValue &= UINT16_MAX; … … 1695 1695 if (iMemIndexReg != UINT8_MAX) 1696 1696 { 1697 if (pThis->cbAddrMode == 32)1697 if (pThis->cbAddrMode == 4) 1698 1698 { 1699 1699 pThis->aOperands[idxOp].uMemIndexRegValue &= UINT32_MAX; 1700 1700 pThis->aOperands[idxOp].uMemIndexRegValue |= pThis->InCtx.aGRegs[iMemIndexReg] & UINT64_C(0xffffffff00000000); 1701 1701 } 1702 else if (pThis->cbAddrMode == 16)1702 else if (pThis->cbAddrMode == 2) 1703 1703 { 1704 1704 pThis->aOperands[idxOp].uMemIndexRegValue &= UINT16_MAX;
Note:
See TracChangeset
for help on using the changeset viewer.