VirtualBox

Changeset 80461 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 28, 2019 8:48:34 AM (5 years ago)
Author:
vboxsync
Message:

IEMAll/iemExecOneInner: Clear VMCPU_FF_INHIBIT_INTERRUPTS when no longer applicable instead of setting it.

File:
1 edited

Legend:

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

    r80458 r80461  
    1400914009        && rcStrict == VINF_SUCCESS
    1401014010        && VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS)
    14011         && EMGetInhibitInterruptsPC(pVCpu) == pVCpu->cpum.GstCtx.rip )
     14011        && EMIsInhibitInterruptsActive(pVCpu))
    1401214012    {
    1401314013        rcStrict = iemInitDecoderAndPrefetchOpcodes(pVCpu, pVCpu->iem.s.fBypassHandlers);
     
    1404414044        else if (pVCpu->iem.s.cActiveMappings > 0)
    1404514045            iemMemRollback(pVCpu);
    14046         EMSetInhibitInterruptsPC(pVCpu, UINT64_C(0x7777555533331111));
     14046        VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_INHIBIT_INTERRUPTS); /* hope this is correct for all exceptional cases... */
    1404714047    }
    1404814048
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