VirtualBox

Changeset 41799 in vbox


Ignore:
Timestamp:
Jun 17, 2012 2:53:52 AM (13 years ago)
Author:
vboxsync
Message:

IEM: Back to where I was when I needed DISSTATE::abInstr...

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/iem.h

    r41658 r41799  
    4141VMMDECL(VBOXSTRICTRC)       IEMExecOne(PVMCPU pVCpu);
    4242VMMDECL(VBOXSTRICTRC)       IEMExecOneEx(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore, uint32_t *pcbWritten);
    43 VMMDECL(VBOXSTRICTRC)       IEMExecOneWithOpcodes(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore,
    44                                                   RTGCPTR GCPtrOpcodeBytes, const void *pvOpcodeBytes, size_t cbOpcodeBytes);
     43VMMDECL(VBOXSTRICTRC)       IEMExecOneWithPrefetchedByPC(PVMCPU pVCpu, PCPUMCTXCORE pCtxCore, uint64_t OpcodeBytesPC,
     44                                                        const void *pvOpcodeBytes, size_t cbOpcodeBytes);
    4545VMMDECL(VBOXSTRICTRC)       IEMExecLots(PVMCPU pVCpu);
    4646VMM_INT_DECL(VBOXSTRICTRC)  IEMInjectTrap(PVMCPU pVCpu, uint8_t u8TrapNo, TRPMEVENT enmType, uint16_t uErrCode, RTGCPTR uCr2);
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r41783 r41799  
    557557#ifdef VBOX_WITH_IEM
    558558    NOREF(pDis); NOREF(pvFault); NOREF(enmCodeType);
    559     VBOXSTRICTRC rc = IEMExecOneEx(pVCpu, pRegFrame, NULL);
     559    VBOXSTRICTRC rc = IEMExecOneWithPrefetchedByPC(pVCpu, pRegFrame, pRegFrame->rip, pDis->abInstr, pDis->cbCachedInstr);
    560560    if (RT_UNLIKELY(   rc == VERR_IEM_ASPECT_NOT_IMPLEMENTED
    561561                    || rc == VERR_IEM_INSTR_NOT_IMPLEMENTED))
  • trunk/src/VBox/VMM/VMMRC/PATMRC.cpp

    r41783 r41799  
    519519#ifdef VBOX_WITH_IEM
    520520            VBOXSTRICTRC rcStrict;
    521             rcStrict = IEMExecOneWithOpcodes(VMMGetCpu0(pVM), pRegFrame, pRec->patch.pPrivInstrGC,
    522                                              pRec->patch.aPrivInstr, pRec->patch.cbPrivInstr);
     521            rcStrict = IEMExecOneWithPrefetchedByPC(VMMGetCpu0(pVM), pRegFrame, pRegFrame->rip,
     522                                                    pRec->patch.aPrivInstr, pRec->patch.cbPrivInstr);
    523523            rc = VBOXSTRICTRC_TODO(rcStrict);
    524524#else
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