VirtualBox

Changeset 21707 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Jul 17, 2009 3:53:35 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50262
Message:

Updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/HWACCM.cpp

    r21706 r21707  
    14181418
    14191419        /* Check if the instruction is still the same. */
    1420         rc = PGMPhysSimpleReadGCPtr(pVCpu, szInstr, pInstrGC, pPatch->cbOp);
     1420        rc = PGMPhysSimpleReadGCPtr(pVCpu, szInstr, pInstrGC, pPatch->cbNewOp);
    14211421        if (rc != VINF_SUCCESS)
    14221422        {
     
    14251425        }
    14261426
    1427         if (memcmp(szInstr, pPatch->aOpcode, pPatch->cbOp))
     1427        if (memcmp(szInstr, pPatch->aNewOpcode, pPatch->cbNewOp))
    14281428        {
    14291429            Log(("Patched instruction was changed! (rc=%Rrc0\n", rc));
     
    18511851                    rc = DBGFR3DisasInstrEx(pVM, pVCpu->idCpu, pCtx->cs, pInstr, 0, szOutput, sizeof(szOutput), &cb);
    18521852                    if (VBOX_SUCCESS(rc))
    1853                         Log(("Patch instr %RGv: %s\n", pInstr, szOutput));
     1853                        Log(("Patch instr %s\n", szOutput));
    18541854
    18551855                    pInstr += cb;
Note: See TracChangeset for help on using the changeset viewer.

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