VirtualBox

Changeset 53181 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 2, 2014 9:11:03 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
96724
Message:

IEM/IRET: Make the 16-bit IRET real/v86 mode instruction clear RF, doesn't make sense not to do it...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h

    r53108 r53181  
    27512751        uNewFlags &= X86_EFL_CF | X86_EFL_PF | X86_EFL_AF | X86_EFL_ZF | X86_EFL_SF
    27522752                   | X86_EFL_TF | X86_EFL_IF | X86_EFL_DF | X86_EFL_OF | X86_EFL_IOPL | X86_EFL_NT;
    2753         uNewFlags |= Efl.u & (UINT32_C(0xffff0000) | X86_EFL_1);
     2753        uNewFlags |= Efl.u & ((UINT32_C(0xffff0000) | X86_EFL_1) & ~X86_EFL_RF);
    27542754        /** @todo The intel pseudo code does not indicate what happens to
    27552755         *        reserved flags. We just ignore them. */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette