VirtualBox

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

REM: update with explanation of the previous fix

File:
1 edited

Legend:

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

    r17044 r17045  
    10321032    env->eflags &= ~(TF_MASK | VM_MASK | RF_MASK | NT_MASK);
    10331033#else
     1034     /*
     1035     * We must clear VIP/VIF too on interrupt entry, as otherwise FreeBSD
     1036     * gets confused by seeingingly changed EFLAGS. See #3491 and
     1037     * public bug #2341.
     1038     */
    10341039    env->eflags &= ~(TF_MASK | VM_MASK | RF_MASK | NT_MASK | VIF_MASK | VIP_MASK);
    10351040#endif
     
    13031308    env->eflags &= ~(TF_MASK | VM_MASK | RF_MASK | NT_MASK);
    13041309#else
     1310    /*
     1311     * We must clear VIP/VIF too on interrupt entry, as otherwise FreeBSD
     1312     * gets confused by seeingingly changed EFLAGS. See #3491 and
     1313     * public bug #2341.
     1314     */
    13051315    env->eflags &= ~(TF_MASK | VM_MASK | RF_MASK | NT_MASK | VIF_MASK | VIP_MASK);
    13061316#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