VirtualBox

Changeset 62324 in vbox


Ignore:
Timestamp:
Jul 19, 2016 2:42:44 PM (8 years ago)
Author:
vboxsync
Message:

REMR3StateBack: Check for EXCEPTION_IS_INT_VALUE_HARDWARE_IRQ and convert it to TRPM_HARDWARE_INT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/VBoxRecompiler.c

    r62287 r62324  
    27962796
    27972797        Log(("REMR3StateBack: Pending trap %x %d\n", pVM->rem.s.Env.exception_index, pVM->rem.s.Env.exception_is_int));
    2798         TRPMEVENT enmType = pVM->rem.s.Env.exception_is_int ? TRPM_SOFTWARE_INT : TRPM_TRAP;
     2798        TRPMEVENT enmType = pVM->rem.s.Env.exception_is_int == 0                                    ? TRPM_TRAP
     2799                          : pVM->rem.s.Env.exception_is_int == EXCEPTION_IS_INT_VALUE_HARDWARE_IRQ  ? TRPM_HARDWARE_INT
     2800                          :                                                                           TRPM_SOFTWARE_INT;
    27992801        rc = TRPMAssertTrap(pVCpu, pVM->rem.s.Env.exception_index, enmType);
    28002802        AssertRC(rc);
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