Changeset 41676 in vbox for trunk/src/VBox/VMM/VMMAll/EMAll.cpp
- Timestamp:
- Jun 12, 2012 8:53:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r41675 r41676 1049 1049 /* pop [esp+xx] uses esp after the actual pop! */ 1050 1050 AssertCompile(USE_REG_ESP == USE_REG_SP); 1051 if ( (pDis->param1.flags & USE_BASE)1052 && (pDis->param1.flags & ( USE_REG_GEN16|USE_REG_GEN32))1051 if ( (pDis->param1.flags & DISUSE_BASE) 1052 && (pDis->param1.flags & (DISUSE_REG_GEN16|DISUSE_REG_GEN32)) 1053 1053 && pDis->param1.base.reg_gen == USE_REG_ESP 1054 1054 ) … … 2135 2135 * @param pRegFrame The register frame. 2136 2136 * @param DestRegGen General purpose register index (USE_REG_E**)) 2137 * @param SrcRegCRx CRx register index ( USE_REG_CR*)2137 * @param SrcRegCRx CRx register index (DISUSE_REG_CR*) 2138 2138 * 2139 2139 */ … … 2194 2194 * @param pVCpu The VMCPU handle. 2195 2195 * @param pRegFrame The register frame. 2196 * @param DestRegCRx CRx register index ( USE_REG_CR*)2196 * @param DestRegCRx CRx register index (DISUSE_REG_CR*) 2197 2197 * @param val New CRx value 2198 2198 * … … 2333 2333 * @param pVCpu The VMCPU handle. 2334 2334 * @param pRegFrame The register frame. 2335 * @param DestRegCRx CRx register index ( USE_REG_CR*)2335 * @param DestRegCRx CRx register index (DISUSE_REG_CR*) 2336 2336 * @param SrcRegGen General purpose register index (USE_REG_E**)) 2337 2337 * … … 2468 2468 { 2469 2469 NOREF(pvFault); NOREF(pcbSize); 2470 if ((pDis->param1.flags == USE_REG_GEN32 || pDis->param1.flags == USE_REG_GEN64) && pDis->param2.flags ==USE_REG_CR)2470 if ((pDis->param1.flags == DISUSE_REG_GEN32 || pDis->param1.flags == DISUSE_REG_GEN64) && pDis->param2.flags == DISUSE_REG_CR) 2471 2471 return EMInterpretCRxRead(pVM, pVCpu, pRegFrame, pDis->param1.base.reg_gen, pDis->param2.base.reg_ctrl); 2472 2472 2473 if (pDis->param1.flags == USE_REG_CR && (pDis->param2.flags == USE_REG_GEN32 || pDis->param2.flags ==USE_REG_GEN64))2473 if (pDis->param1.flags == DISUSE_REG_CR && (pDis->param2.flags == DISUSE_REG_GEN32 || pDis->param2.flags == DISUSE_REG_GEN64)) 2474 2474 return EMInterpretCRxWrite(pVM, pVCpu, pRegFrame, pDis->param1.base.reg_ctrl, pDis->param2.base.reg_gen); 2475 2475 … … 2558 2558 NOREF(pvFault); NOREF(pcbSize); 2559 2559 2560 if((pDis->param1.flags == USE_REG_GEN32 || pDis->param1.flags == USE_REG_GEN64) && pDis->param2.flags ==USE_REG_DBG)2560 if((pDis->param1.flags == DISUSE_REG_GEN32 || pDis->param1.flags == DISUSE_REG_GEN64) && pDis->param2.flags == DISUSE_REG_DBG) 2561 2561 { 2562 2562 rc = EMInterpretDRxRead(pVM, pVCpu, pRegFrame, pDis->param1.base.reg_gen, pDis->param2.base.reg_dbg); 2563 2563 } 2564 2564 else 2565 if(pDis->param1.flags == USE_REG_DBG && (pDis->param2.flags == USE_REG_GEN32 || pDis->param2.flags ==USE_REG_GEN64))2565 if(pDis->param1.flags == DISUSE_REG_DBG && (pDis->param2.flags == DISUSE_REG_GEN32 || pDis->param2.flags == DISUSE_REG_GEN64)) 2566 2566 { 2567 2567 rc = EMInterpretDRxWrite(pVM, pVCpu, pRegFrame, pDis->param1.base.reg_dbg, pDis->param2.base.reg_gen);
Note:
See TracChangeset
for help on using the changeset viewer.