VirtualBox

Ignore:
Timestamp:
Jun 3, 2023 12:17:25 AM (18 months ago)
Author:
vboxsync
Message:

VMM/IEM: Use fExec for more tests. bugref:10369

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/IEMInline.h

    r100052 r100059  
    406406    Assert(CPUMSELREG_ARE_HIDDEN_PARTS_VALID(pVCpu, &pVCpu->cpum.GstCtx.tr));
    407407
    408     pVCpu->iem.s.fExec = iemCalcExecFlags(pVCpu) | fExecOpts;
     408    pVCpu->iem.s.rcPassUp           = VINF_SUCCESS;
     409    pVCpu->iem.s.fExec              = iemCalcExecFlags(pVCpu) | fExecOpts;
     410    pVCpu->iem.s.cActiveMappings    = 0;
     411    pVCpu->iem.s.iNextMapping       = 0;
     412
    409413#  ifdef VBOX_STRICT
    410414    pVCpu->iem.s.enmDefAddrMode     = (IEMMODE)0xfe;
     
    435439#   endif
    436440#  endif /* VBOX_STRICT */
    437 
    438     pVCpu->iem.s.cActiveMappings    = 0;
    439     pVCpu->iem.s.iNextMapping       = 0;
    440     pVCpu->iem.s.rcPassUp           = VINF_SUCCESS;
    441441}
    442442# endif /* VBOX_INCLUDED_vmm_dbgf_h */
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