Changeset 41741 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jun 15, 2012 1:50:13 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 78549
- Location:
- trunk/src/VBox/VMM/VMMR3
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CSAM.cpp
r41739 r41741 801 801 case OP_INT: 802 802 Assert(pCpu->Param1.fUse & DISUSE_IMMEDIATE8); 803 if (pCpu->Param1. parval== 3)803 if (pCpu->Param1.uValue == 3) 804 804 { 805 805 //two byte int 3 … … 1101 1101 && ( !(cpu.Param2.flags & DISUSE_REG_GEN32) 1102 1102 || !(cpu.Param2.flags & (DISUSE_DISPLACEMENT8|DISUSE_DISPLACEMENT16|DISUSE_DISPLACEMENT32)) 1103 || cpu.Param2. parval!= 01103 || cpu.Param2.uValue != 0 1104 1104 ) 1105 1105 ) -
trunk/src/VBox/VMM/VMMR3/HWACCM.cpp
r41739 r41741 1845 1845 Assert(pDis->Param2.fUse == DISUSE_IMMEDIATE32); 1846 1846 pPatch->enmType = HWACCMTPRINSTR_WRITE_IMM; 1847 pPatch->uSrcOperand = pDis->Param2. parval;1847 pPatch->uSrcOperand = pDis->Param2.uValue; 1848 1848 } 1849 1849 rc = PGMPhysSimpleWriteGCPtr(pVCpu, pCtx->rip, aVMMCall, sizeof(aVMMCall)); … … 1875 1875 && pDis->Param1.base.reg_gen == uMmioReg 1876 1876 && pDis->Param2.fUse == DISUSE_IMMEDIATE8 1877 && pDis->Param2. parval== 41877 && pDis->Param2.uValue == 4 1878 1878 && oldcbOp + cbOp < sizeof(pVM->hwaccm.s.aPatches[idx].aOpcode)) 1879 1879 { … … 2048 2048 Assert(pDis->Param2.fUse == DISUSE_IMMEDIATE32); 2049 2049 aPatch[off++] = 0xB8; /* mov eax, immediate */ 2050 *(uint32_t *)&aPatch[off] = pDis->Param2. parval;2050 *(uint32_t *)&aPatch[off] = pDis->Param2.uValue; 2051 2051 off += sizeof(uint32_t); 2052 2052 } -
trunk/src/VBox/VMM/VMMR3/PATM.cpp
r41739 r41741 3949 3949 * references the target instruction in the conflict patch. 3950 3950 */ 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)); 3954 3954 pPatch->pPatchJumpDestGC = pJmpDest; 3955 3955 -
trunk/src/VBox/VMM/VMMR3/PATMPatch.cpp
r41739 r41741 857 857 /** @note optimization: multiple identical ret instruction in a single patch can share a single patched ret. */ 858 858 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! */ 860 860 { 861 861 Assert(pCpu->pCurInstr->uOpcode == OP_RETN); … … 891 891 { 892 892 pPatch->pTempInfo->pPatchRetInstrGC = pPatchRetInstrGC; 893 pPatch->pTempInfo->uPatchRetParam1 = pCpu->Param1. parval;893 pPatch->pTempInfo->uPatchRetParam1 = pCpu->Param1.uValue; 894 894 } 895 895 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.