VirtualBox

Changeset 1505 in vbox for trunk/src/recompiler


Ignore:
Timestamp:
Mar 15, 2007 11:08:22 AM (18 years ago)
Author:
vboxsync
Message:

changed condition order

Location:
trunk/src/recompiler/target-i386
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/target-i386/helper.c

    r1478 r1505  
    13201320#ifdef VBOX
    13211321            /* int xx *, v86 code and VME enabled? */
    1322             if (    !is_hw
     1322            if (    (env->eflags & VM_MASK)
     1323                &&  (env->cr[4] & CR4_VME_MASK)
    13231324                &&  is_int
     1325                &&  !is_hw
    13241326                &&  env->eip + 1 != next_eip /* single byte int 3 goes straight to the protected mode handler */
    1325                 &&  (env->eflags & VM_MASK)
    1326                 &&  (env->cr[4] & CR4_VME_MASK)
    13271327               )
    13281328                do_soft_interrupt_vme(intno, error_code, next_eip);
  • trunk/src/recompiler/target-i386/op.c

    r1478 r1505  
    786786                                       | CPU_INTERRUPT_EXTERNAL_TIMER
    787787                                       | CPU_INTERRUPT_EXTERNAL_DMA))
    788         ||  (   (env->interrupt_request & CPU_INTERRUPT_EXTERNAL_HARD)
     788        ||  (   (env->interrupt_request & (CPU_INTERRUPT_EXTERNAL_HARD|CPU_INTERRUPT_EXTERNAL_TIMER))
    789789             && (env->eflags & IF_MASK)
    790790             && !(env->hflags & HF_INHIBIT_IRQ_MASK) ) )
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