VirtualBox

Changeset 97082 in vbox


Ignore:
Timestamp:
Oct 10, 2022 9:18:54 PM (2 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Darwin build fixes.

File:
1 edited

Legend:

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

    r97069 r97082  
    38323832static int vmxHCImportGuestStateInner(PVMCPUCC pVCpu, PVMXVMCSINFO pVmcsInfo, uint32_t fEFlags)
    38333833{
    3834     AssertCompile(a_fWhat != 0);
     3834    Assert(a_fWhat != 0); /* No AssertCompile as the assertion probably kicks in before the compiler (clang) discards it. */
    38353835    AssertCompile(!(a_fWhat & ~HMVMX_CPUMCTX_EXTRN_ALL));
    38363836    Assert(   (pVCpu->cpum.GstCtx.fExtrn & a_fWhat) == a_fWhat
     
    41904190        :           !VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_HM_UPDATE_CR3) )
    41914191        return VINF_SUCCESS;
     4192    RT_NOREF_PV(fEFlags);
    41924193#endif
    41934194
     
    42594260        if (RT_LIKELY(   (   fWhatToDo ==   (a_fWhat & HMVMX_CPUMCTX_EXTRN_ALL & ~(a_fDoneLocal | a_fDonePostExit))
    42604261                          || fWhatToDo == (  a_fWhat & HMVMX_CPUMCTX_EXTRN_ALL & ~(a_fDoneLocal | a_fDonePostExit)
    4261                                            & ~(CPUMCTX_EXTRN_RIP | CPUMCTX_EXTRN_RFLAGS)) /* fetch with INHIBIT_INT/NMI */)
    4262                       && fWhatToDo != 0 /*possible when CPUMCTX_EXTRN_ALL is used post-exit*/))
     4262                                           & ~(CPUMCTX_EXTRN_RIP | CPUMCTX_EXTRN_RFLAGS)) /* fetch with INHIBIT_INT/NMI */))
     4263            && (a_fWhat & HMVMX_CPUMCTX_EXTRN_ALL & ~(a_fDoneLocal | a_fDonePostExit)) != 0 /* just in case */)
    42634264        {
    42644265            int const rc = vmxHCImportGuestStateInner<  a_fWhat
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