VirtualBox

Changeset 41741 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jun 15, 2012 1:50:13 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78549
Message:

DISOPPARAM: s/parval/uValue/ + doc

Location:
trunk/src/VBox/VMM/VMMR3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CSAM.cpp

    r41739 r41741  
    801801    case OP_INT:
    802802        Assert(pCpu->Param1.fUse & DISUSE_IMMEDIATE8);
    803         if (pCpu->Param1.parval == 3)
     803        if (pCpu->Param1.uValue == 3)
    804804        {
    805805            //two byte int 3
     
    11011101                             && (   !(cpu.Param2.flags & DISUSE_REG_GEN32)
    11021102                                 || !(cpu.Param2.flags & (DISUSE_DISPLACEMENT8|DISUSE_DISPLACEMENT16|DISUSE_DISPLACEMENT32))
    1103                                  ||  cpu.Param2.parval != 0
     1103                                 ||  cpu.Param2.uValue != 0
    11041104                                )
    11051105                            )
  • trunk/src/VBox/VMM/VMMR3/HWACCM.cpp

    r41739 r41741  
    18451845                Assert(pDis->Param2.fUse == DISUSE_IMMEDIATE32);
    18461846                pPatch->enmType     = HWACCMTPRINSTR_WRITE_IMM;
    1847                 pPatch->uSrcOperand = pDis->Param2.parval;
     1847                pPatch->uSrcOperand = pDis->Param2.uValue;
    18481848            }
    18491849            rc = PGMPhysSimpleWriteGCPtr(pVCpu, pCtx->rip, aVMMCall, sizeof(aVMMCall));
     
    18751875                &&  pDis->Param1.base.reg_gen == uMmioReg
    18761876                &&  pDis->Param2.fUse == DISUSE_IMMEDIATE8
    1877                 &&  pDis->Param2.parval == 4
     1877                &&  pDis->Param2.uValue == 4
    18781878                &&  oldcbOp + cbOp < sizeof(pVM->hwaccm.s.aPatches[idx].aOpcode))
    18791879            {
     
    20482048                Assert(pDis->Param2.fUse == DISUSE_IMMEDIATE32);
    20492049                aPatch[off++] = 0xB8;    /* mov eax, immediate */
    2050                 *(uint32_t *)&aPatch[off] = pDis->Param2.parval;
     2050                *(uint32_t *)&aPatch[off] = pDis->Param2.uValue;
    20512051                off += sizeof(uint32_t);
    20522052            }
  • trunk/src/VBox/VMM/VMMR3/PATM.cpp

    r41739 r41741  
    39493949     * references the target instruction in the conflict patch.
    39503950     */
    3951     RTRCPTR pJmpDest = PATMR3GuestGCPtrToPatchGCPtr(pVM, pInstrGC + pCpu->cbInstr + (int32_t)pCpu->Param1.parval);
    3952 
    3953     AssertMsg(pJmpDest, ("PATMR3GuestGCPtrToPatchGCPtr failed for %RRv\n", pInstrGC + pCpu->cbInstr + (int32_t)pCpu->Param1.parval));
     3951    RTRCPTR pJmpDest = PATMR3GuestGCPtrToPatchGCPtr(pVM, pInstrGC + pCpu->cbInstr + (int32_t)pCpu->Param1.uValue);
     3952
     3953    AssertMsg(pJmpDest, ("PATMR3GuestGCPtrToPatchGCPtr failed for %RRv\n", pInstrGC + pCpu->cbInstr + (int32_t)pCpu->Param1.uValue));
    39543954    pPatch->pPatchJumpDestGC = pJmpDest;
    39553955
  • trunk/src/VBox/VMM/VMMR3/PATMPatch.cpp

    r41739 r41741  
    857857    /** @note optimization: multiple identical ret instruction in a single patch can share a single patched ret. */
    858858    if (    pPatch->pTempInfo->pPatchRetInstrGC
    859         &&  pPatch->pTempInfo->uPatchRetParam1 == (uint32_t)pCpu->Param1.parval) /* nr of bytes popped off the stack should be identical of course! */
     859        &&  pPatch->pTempInfo->uPatchRetParam1 == (uint32_t)pCpu->Param1.uValue) /* nr of bytes popped off the stack should be identical of course! */
    860860    {
    861861        Assert(pCpu->pCurInstr->uOpcode == OP_RETN);
     
    891891    {
    892892        pPatch->pTempInfo->pPatchRetInstrGC = pPatchRetInstrGC;
    893         pPatch->pTempInfo->uPatchRetParam1  = pCpu->Param1.parval;
     893        pPatch->pTempInfo->uPatchRetParam1  = pCpu->Param1.uValue;
    894894    }
    895895    return rc;
Note: See TracChangeset for help on using the changeset viewer.

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