VirtualBox

Changeset 53575 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 19, 2014 11:11:17 AM (10 years ago)
Author:
vboxsync
Message:

build fix

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  
    618618     * Do we need to use the low buffer?  Check that we have one, if we need it.
    619619     */
    620     bool fUseNormal = pThis->cbAddrMode == ARCH_BITS;
     620    bool fUseNormal = pThis->cbAddrMode == ARCH_BITS / 8;
    621621    if (!fUseNormal && !pAppBuf->pbLow)
    622622        return false;
  • trunk/src/VBox/ValidationKit/utils/cpu/cidet-core.cpp

    r53565 r53575  
    16791679            if (iMemBaseReg != UINT8_MAX)
    16801680            {
    1681                 if (pThis->cbAddrMode == 32)
     1681                if (pThis->cbAddrMode == 4)
    16821682                {
    16831683                    pThis->aOperands[idxOp].uMemBaseRegValue &= UINT32_MAX;
    16841684                    pThis->aOperands[idxOp].uMemBaseRegValue |= pThis->InCtx.aGRegs[iMemBaseReg] & UINT64_C(0xffffffff00000000);
    16851685                }
    1686                 else if (pThis->cbAddrMode == 16)
     1686                else if (pThis->cbAddrMode == 2)
    16871687                {
    16881688                    pThis->aOperands[idxOp].uMemBaseRegValue &= UINT16_MAX;
     
    16951695            if (iMemIndexReg != UINT8_MAX)
    16961696            {
    1697                 if (pThis->cbAddrMode == 32)
     1697                if (pThis->cbAddrMode == 4)
    16981698                {
    16991699                    pThis->aOperands[idxOp].uMemIndexRegValue &= UINT32_MAX;
    17001700                    pThis->aOperands[idxOp].uMemIndexRegValue |= pThis->InCtx.aGRegs[iMemIndexReg] & UINT64_C(0xffffffff00000000);
    17011701                }
    1702                 else if (pThis->cbAddrMode == 16)
     1702                else if (pThis->cbAddrMode == 2)
    17031703                {
    17041704                    pThis->aOperands[idxOp].uMemIndexRegValue &= UINT16_MAX;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette