Changeset 97082 in vbox
- Timestamp:
- Oct 10, 2022 9:18:54 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/VMXAllTemplate.cpp.h
r97069 r97082 3832 3832 static int vmxHCImportGuestStateInner(PVMCPUCC pVCpu, PVMXVMCSINFO pVmcsInfo, uint32_t fEFlags) 3833 3833 { 3834 Assert Compile(a_fWhat != 0);3834 Assert(a_fWhat != 0); /* No AssertCompile as the assertion probably kicks in before the compiler (clang) discards it. */ 3835 3835 AssertCompile(!(a_fWhat & ~HMVMX_CPUMCTX_EXTRN_ALL)); 3836 3836 Assert( (pVCpu->cpum.GstCtx.fExtrn & a_fWhat) == a_fWhat … … 4190 4190 : !VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_HM_UPDATE_CR3) ) 4191 4191 return VINF_SUCCESS; 4192 RT_NOREF_PV(fEFlags); 4192 4193 #endif 4193 4194 … … 4259 4260 if (RT_LIKELY( ( fWhatToDo == (a_fWhat & HMVMX_CPUMCTX_EXTRN_ALL & ~(a_fDoneLocal | a_fDonePostExit)) 4260 4261 || 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 */) 4263 4264 { 4264 4265 int const rc = vmxHCImportGuestStateInner< a_fWhat
Note:
See TracChangeset
for help on using the changeset viewer.