VirtualBox

Changeset 45519 in vbox for trunk


Ignore:
Timestamp:
Apr 12, 2013 12:47:58 PM (12 years ago)
Author:
vboxsync
Message:

VMMR0/HMVMXR0: Inject software int from TRPM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r45517 r45519  
    57495749
    57505750    int rc = TRPMQueryTrapAll(pVCpu, &u8Vector, &enmTrpmEvent, &uErrCode, NULL /* puCr2 */);
    5751     AssertRCReturn(rc, rc);
    5752     Assert(enmTrpmEvent != TRPM_SOFTWARE_INT);
    5753 
    5754     rc = TRPMResetTrap(pVCpu);
     5751    rc    |= TRPMResetTrap(pVCpu);
    57555752    AssertRCReturn(rc, rc);
    57565753
     
    57895786    else if (enmTrpmEvent == TRPM_HARDWARE_INT)
    57905787        u32IntrInfo |= (VMX_EXIT_INTERRUPTION_INFO_TYPE_EXT_INT << VMX_EXIT_INTERRUPTION_INFO_TYPE_SHIFT);
     5788    else if (enmTrpmEvent == TRPM_SOFTWARE_INT)
     5789        u32IntrInfo |= (VMX_EXIT_INTERRUPTION_INFO_TYPE_SW_INT << VMX_EXIT_INTERRUPTION_INFO_TYPE_SHIFT);
    57915790    else
    57925791        AssertMsgFailed(("Invalid TRPM event type %d\n", enmTrpmEvent));
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