VirtualBox

Changeset 41732 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Jun 14, 2012 11:57:45 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
78540
Message:

DISCPUSTATE::opsize -> cbInstr.

Location:
trunk/src/VBox/VMM/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/CSAMInternal.h

    r41678 r41732  
    271271    }
    272272#ifdef IN_RC
    273     return (RTRCPTR)((uint8_t *)pBranchInstrGC + pCpu->opsize + disp);
     273    return (RTRCPTR)((uint8_t *)pBranchInstrGC + pCpu->cbInstr + disp);
    274274#else
    275     return pBranchInstrGC + pCpu->opsize + disp;
     275    return pBranchInstrGC + pCpu->cbInstr + disp;
    276276#endif
    277277}
  • trunk/src/VBox/VMM/include/PATMInternal.h

    r41678 r41732  
    781781    }
    782782#ifdef IN_RC
    783     return (RTRCPTR)((uint8_t *)pBranchInstrGC + pCpu->opsize + disp);
     783    return (RTRCPTR)((uint8_t *)pBranchInstrGC + pCpu->cbInstr + disp);
    784784#else
    785     return pBranchInstrGC + pCpu->opsize + disp;
     785    return pBranchInstrGC + pCpu->cbInstr + disp;
    786786#endif
    787787}
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