VirtualBox

Changeset 104456 in vbox


Ignore:
Timestamp:
Apr 29, 2024 2:42:51 PM (7 months ago)
Author:
vboxsync
Message:

VMM/IEM: Fixed bug in iemGetTbFlagsForCurrentPc. Skip IEMTB_F_CS_LIM_CHECKS for flat 32-bit modes. bugref:10369

File:
1 edited

Legend:

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

    r104407 r104456  
    30353035     * Determine the inhibit bits.
    30363036     */
    3037     if (!(pVCpu->cpum.GstCtx.rflags.uBoth & (IEMTB_F_INHIBIT_SHADOW | IEMTB_F_INHIBIT_NMI)))
     3037    if (!(pVCpu->cpum.GstCtx.rflags.uBoth & (CPUMCTX_INHIBIT_SHADOW | CPUMCTX_INHIBIT_NMI)))
    30383038    { /* typical */ }
    30393039    else
     
    30493049     * likely to go invalid before the end of the translation block.
    30503050     */
    3051     if (IEM_IS_64BIT_CODE(pVCpu))
     3051    if (IEM_F_MODE_X86_IS_FLAT(pVCpu->iem.s.fExec))
    30523052        return fRet;
    30533053
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