Changeset 79096 in vbox for trunk/include
- Timestamp:
- Jun 12, 2019 7:22:59 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r79073 r79096 2396 2396 */ 2397 2397 RT_NOREF(pVCpu); 2398 Assert(CPUMIsGuestInVmxNonRootMode(pCtx)); 2398 2399 Assert(CPUMIsGuestVmxPinCtlsSet(pVCpu, pCtx, VMX_PIN_CTLS_VIRT_NMI)); 2399 2400 return pCtx->hwvirt.vmx.fVirtNmiBlocking; 2401 #endif 2402 } 2403 2404 /** 2405 * Sets or clears VMX nested-guest virtual-NMI blocking. 2406 * 2407 * @param pVCpu The cross context virtual CPU structure of the calling EMT. 2408 * @param pCtx The guest-CPU context. 2409 * @param fBlocking Whether virtual-NMI blocking is in effect or not. 2410 */ 2411 DECLINLINE(void) CPUMSetGuestVmxVirtNmiBlocking(PCVMCPU pVCpu, PCPUMCTX pCtx, bool fBlocking) 2412 { 2413 #ifdef IN_RC 2414 RT_NOREF3(pVCpu, pCtx, fBlocking); 2415 AssertReleaseFailedReturnVoid(); 2416 #else 2417 RT_NOREF(pVCpu); 2418 Assert(CPUMIsGuestInVmxNonRootMode(pCtx)); 2419 Assert(CPUMIsGuestVmxPinCtlsSet(pVCpu, pCtx, VMX_PIN_CTLS_VIRT_NMI)); 2420 pCtx->hwvirt.vmx.fVirtNmiBlocking = fBlocking; 2400 2421 #endif 2401 2422 } … … 2580 2601 VMM_INT_DECL(CPUMINTERRUPTIBILITY) CPUMGetGuestInterruptibility(PVMCPU pVCpu); 2581 2602 VMM_INT_DECL(bool) CPUMIsGuestNmiBlocking(PVMCPU pVCpu); 2582 2603 VMM_INT_DECL(void) CPUMSetGuestNmiBlocking(PVMCPU pVCpu, bool fBlock); 2583 2604 2584 2605 /** @name Typical scalable bus frequency values.
Note:
See TracChangeset
for help on using the changeset viewer.