VirtualBox

Changeset 40446 in vbox


Ignore:
Timestamp:
Mar 13, 2012 3:16:30 PM (13 years ago)
Author:
vboxsync
Message:

EM: One more EMInterpretInstructionCPU usage.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r40442 r40446  
    6363#endif
    6464
    65 /* Used to pass information during instruction disassembly. */
     65/** Used to pass information during instruction disassembly. */
    6666typedef struct
    6767{
  • trunk/src/VBox/VMM/VMMR3/EMHwaccm.cpp

    r40377 r40446  
    201201    if (RT_SUCCESS(rc))
    202202    {
    203         uint32_t size;
    204 
    205203        switch (Cpu.pCurInstr->opcode)
    206204        {
     
    215213        case OP_XCHG:
    216214            STAM_PROFILE_START(&pVCpu->em.s.StatMiscEmu, a);
    217             rc = EMInterpretInstructionCPU(pVM, pVCpu, &Cpu, CPUMCTX2CORE(pCtx), 0, &size);
     215            rc = EMInterpretInstructionCpuUpdtPC(pVM, pVCpu, &Cpu, CPUMCTX2CORE(pCtx), 0);
    218216            if (RT_SUCCESS(rc))
    219217            {
    220                 pCtx->rip += Cpu.opsize;
    221218#ifdef EM_NOTIFY_HWACCM
    222219                if (pVCpu->em.s.enmState == EMSTATE_DEBUG_GUEST_HWACC)
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