Changeset 41737 in vbox for trunk/src/VBox/VMM/VMMR3/PATMPatch.cpp
- Timestamp:
- Jun 15, 2012 1:01:49 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 78545
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PATMPatch.cpp
r41734 r41737 859 859 && pPatch->pTempInfo->uPatchRetParam1 == (uint32_t)pCpu->param1.parval) /* nr of bytes popped off the stack should be identical of course! */ 860 860 { 861 Assert(pCpu->pCurInstr-> opcode == OP_RETN);861 Assert(pCpu->pCurInstr->uOpcode == OP_RETN); 862 862 STAM_COUNTER_INC(&pVM->patm.s.StatGenRetReused); 863 863 … … 1336 1336 /* Modify REG part according to destination of original instruction */ 1337 1337 pPB[offset++] = MAKE_MODRM(0, pCpu->param1.base.reg_gen, 5); 1338 if (pCpu->pCurInstr-> opcode == OP_STR)1338 if (pCpu->pCurInstr->uOpcode == OP_STR) 1339 1339 { 1340 1340 *(RTRCPTR *)&pPB[offset] = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, tr); … … 1381 1381 pPB[offset++] = 0x66; // mov ax, CPUMCTX.tr/ldtr 1382 1382 pPB[offset++] = 0xA1; 1383 if (pCpu->pCurInstr-> opcode == OP_STR)1383 if (pCpu->pCurInstr->uOpcode == OP_STR) 1384 1384 { 1385 1385 *(RTRCPTR *)&pPB[offset] = pVM->patm.s.pCPUMCtxGC + RT_OFFSETOF(CPUMCTX, tr); … … 1426 1426 // sidt %Ms 1427 1427 1428 switch (pCpu->pCurInstr-> opcode)1428 switch (pCpu->pCurInstr->uOpcode) 1429 1429 { 1430 1430 case OP_SGDT:
Note:
See TracChangeset
for help on using the changeset viewer.