VirtualBox

Changeset 9745 in vbox


Ignore:
Timestamp:
Jun 17, 2008 7:45:48 AM (17 years ago)
Author:
vboxsync
Message:

Enabled 64 bits mov instruction emulation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r9726 r9745  
    11471147static int emInterpretMov(PVM pVM, PDISCPUSTATE pCpu, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, uint32_t *pcbSize)
    11481148{
    1149     Assert(pCpu->mode != CPUMODE_64BIT);    /** @todo check */
    11501149    OP_PARAMVAL param1, param2;
    11511150    int rc = DISQueryParamVal(pRegFrame, pCpu, &pCpu->param1, &param1, PARAM_DEST);
     
    11731172            {
    11741173            case PARMTYPE_IMMEDIATE:
    1175                 if(!(param1.flags & PARAM_VAL32))
     1174                if(!(param1.flags & (PARAM_VAL32|PARAM_VAL64)))
    11761175                    return VERR_EM_INTERPRETER;
    11771176                /* fallthru */
     
    12271226            {
    12281227            case PARMTYPE_IMMEDIATE:
    1229                 if(!(param2.flags & PARAM_VAL32))
     1228                if(!(param2.flags & (PARAM_VAL32|PARAM_VAL64)))
    12301229                    return VERR_EM_INTERPRETER;
    12311230                /* fallthru */
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