VirtualBox

Changeset 15564 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Dec 16, 2008 9:25:50 AM (16 years ago)
Author:
vboxsync
Message:

Fix for single stepping hwacc code

File:
1 edited

Legend:

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

    r14675 r15564  
    11281128
    11291129
    1130 void emR3SingleStepExecHwAcc(PVM pVM, RTCPUID idCpu, uint32_t cIterations)
     1130int emR3SingleStepExecHwAcc(PVM pVM, RTCPUID idCpu, uint32_t cIterations)
    11311131{
    11321132    EMSTATE  enmOldState = pVM->em.s.enmState;
     
    11401140        DBGFR3DisasInstrCurrentLog(pVM, "RSS: ");
    11411141        emR3HwAccStep(pVM, idCpu);
     1142        if (!HWACCMR3CanExecuteGuest(pVM, pVM->em.s.pCtx))
     1143            break;
    11421144    }
    11431145    Log(("Single step END:\n"));
    11441146    CPUMSetGuestEFlags(pVM, CPUMGetGuestEFlags(pVM) & ~X86_EFL_TF);
    11451147    pVM->em.s.enmState = enmOldState;
     1148    return VINF_EM_RESCHEDULE_REM;
    11461149}
    11471150
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