VirtualBox

Ignore:
Timestamp:
Jan 12, 2009 6:21:24 PM (16 years ago)
Author:
vboxsync
Message:

REM: fixed bug in VME POPF Michal found

File:
1 edited

Legend:

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

    r15901 r15903  
    174174    else
    175175        eflags &= ~IF_MASK;
     176
     177    /* According to AMD manual, should be read with IOPL == 3 */
     178    eflags |= (3 << IOPL_SHIFT);
     179
     180    /* We only use helper_read_eflags_vme() in 16-bits mode */
    176181    return eflags & 0xffff;
    177182}
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