VirtualBox

Changeset 17044 in vbox


Ignore:
Timestamp:
Feb 24, 2009 8:41:19 AM (16 years ago)
Author:
vboxsync
Message:

REM: clear VIF/VIP on entry to protected mode interrupts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler_new/target-i386/op_helper.c

    r17040 r17044  
    10291029        env->eflags &= ~IF_MASK;
    10301030    }
     1031#ifndef VBOX
    10311032    env->eflags &= ~(TF_MASK | VM_MASK | RF_MASK | NT_MASK);
     1033#else
     1034    env->eflags &= ~(TF_MASK | VM_MASK | RF_MASK | NT_MASK | VIF_MASK | VIP_MASK);
     1035#endif
    10321036}
    10331037#ifdef VBOX
     
    12951299        env->eflags &= ~IF_MASK;
    12961300    }
     1301
     1302#ifndef VBOX
    12971303    env->eflags &= ~(TF_MASK | VM_MASK | RF_MASK | NT_MASK);
     1304#else
     1305    env->eflags &= ~(TF_MASK | VM_MASK | RF_MASK | NT_MASK | VIF_MASK | VIP_MASK);
     1306#endif
    12981307}
    12991308#endif
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