VirtualBox

Changeset 100791 in vbox for trunk


Ignore:
Timestamp:
Aug 4, 2023 9:00:00 AM (17 months ago)
Author:
vboxsync
Message:

VMM/IEM: VINF_IEM_REEXEC_MODE_CHANGED -> VINF_IEM_REEXEC_BREAK - more generic, no need for specificity here. bugref:10369

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/err.h

    r100694 r100791  
    25012501/** Recompiler: Translation block allocation failed. */
    25022502#define VERR_IEM_TB_ALLOC_FAILED                    (-5309)
    2503 /** Recompiled execution: Stop execution TB - Mode (fExec) changed. */
    2504 #define VINF_IEM_REEXEC_MODE_CHANGED                (5310)
     2503/** Recompiled execution: Break out of current TB execution. */
     2504#define VINF_IEM_REEXEC_BREAK                       (5310)
    25052505/** Recompilation: End translation block. */
    25062506#define VINF_IEM_RECOMPILE_END_TB                   (5311)
  • trunk/src/VBox/VMM/VMMAll/IEMAllThrdFuncsBltIn.cpp

    r100790 r100791  
    7474{
    7575    iemThreadedTbObsolete(pVCpu, pVCpu->iem.s.pCurTbR3);
    76     return VINF_IEM_REEXEC_MODE_CHANGED; /** @todo different status code... */
     76    return VINF_IEM_REEXEC_BREAK;
    7777}
    7878
     
    120120         pVCpu->cpum.GstCtx.cs.Sel, pVCpu->cpum.GstCtx.eip, fCpu,
    121121         pVCpu->CTX_SUFF(pVM)->fGlobalForcedActions & VM_FF_ALL_MASK, pVCpu->cpum.GstCtx.rflags.Bits.u1IF));
    122     return VINF_IEM_REEXEC_MODE_CHANGED;
     122    return VINF_IEM_REEXEC_BREAK;
    123123}
    124124
     
    139139             fExpectedExec, pVCpu->iem.s.fExec, fExpectedExec ^ pVCpu->iem.s.fExec));
    140140    RT_NOREF(uParam1, uParam2);
    141     return VINF_IEM_REEXEC_MODE_CHANGED;
     141    return VINF_IEM_REEXEC_BREAK;
    142142}
    143143
     
    245245                      pVCpu->iem.s.GCPhysInstrBuf + off, GCPhysRangePageWithOffset, pVCpu->iem.s.pbInstrBuf, __LINE__)); \
    246246                RT_NOREF(a_cbInstr); \
    247                 return VINF_IEM_REEXEC_MODE_CHANGED; /** @todo new status code? */ \
     247                return VINF_IEM_REEXEC_BREAK; \
    248248            } \
    249249            else \
     
    278278                      pVCpu->iem.s.GCPhysInstrBuf + offNew, GCPhysRangePageWithOffset, pVCpu->iem.s.pbInstrBuf, __LINE__)); \
    279279                RT_NOREF(a_cbInstr); \
    280                 return VINF_IEM_REEXEC_MODE_CHANGED; /** @todo new status code? */ \
     280                return VINF_IEM_REEXEC_BREAK; \
    281281            } \
    282282            else \
     
    311311                  pVCpu->iem.s.GCPhysInstrBuf + off, GCPhysRangePageWithOffset, pVCpu->iem.s.pbInstrBuf, __LINE__)); \
    312312            RT_NOREF(a_cbInstr); \
    313             return VINF_IEM_REEXEC_MODE_CHANGED; /** @todo new status code? */ \
     313            return VINF_IEM_REEXEC_BREAK; \
    314314        } \
    315315    } while(0)
  • trunk/src/VBox/VMM/VMMAll/IEMAllThrdRecompiler.cpp

    r100790 r100791  
    14751475            /* Some status codes are just to get us out of this loop and
    14761476               continue in a different translation block. */
    1477             if (rcStrict == VINF_IEM_REEXEC_MODE_CHANGED)
     1477            if (rcStrict == VINF_IEM_REEXEC_BREAK)
    14781478                return iemExecStatusCodeFiddling(pVCpu, VINF_SUCCESS);
    14791479            return iemExecStatusCodeFiddling(pVCpu, rcStrict);
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