Changeset 21707 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Jul 17, 2009 3:53:35 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 50262
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/HWACCM.cpp
r21706 r21707 1418 1418 1419 1419 /* Check if the instruction is still the same. */ 1420 rc = PGMPhysSimpleReadGCPtr(pVCpu, szInstr, pInstrGC, pPatch->cb Op);1420 rc = PGMPhysSimpleReadGCPtr(pVCpu, szInstr, pInstrGC, pPatch->cbNewOp); 1421 1421 if (rc != VINF_SUCCESS) 1422 1422 { … … 1425 1425 } 1426 1426 1427 if (memcmp(szInstr, pPatch->a Opcode, pPatch->cbOp))1427 if (memcmp(szInstr, pPatch->aNewOpcode, pPatch->cbNewOp)) 1428 1428 { 1429 1429 Log(("Patched instruction was changed! (rc=%Rrc0\n", rc)); … … 1851 1851 rc = DBGFR3DisasInstrEx(pVM, pVCpu->idCpu, pCtx->cs, pInstr, 0, szOutput, sizeof(szOutput), &cb); 1852 1852 if (VBOX_SUCCESS(rc)) 1853 Log(("Patch instr % RGv: %s\n", pInstr, szOutput));1853 Log(("Patch instr %s\n", szOutput)); 1854 1854 1855 1855 pInstr += cb;
Note:
See TracChangeset
for help on using the changeset viewer.