Changeset 91985 in vbox
- Timestamp:
- Oct 22, 2021 3:21:02 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
include/VBox/vmm/cpum.h (modified) (2 diffs)
-
src/VBox/VMM/VMMAll/CPUMAllRegs.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cpum.h
r91975 r91985 1597 1597 VMM_INT_DECL(uint32_t) CPUMGetVmxMsrPermission(void const *pvMsrBitmap, uint32_t idMsr); 1598 1598 VMM_INT_DECL(bool) CPUMIsGuestVmxEptPagingEnabled(PCVMCPUCC pVCpu); 1599 VMM_INT_DECL(uint64_t) CPUMGetGuestVmxEptPtr(PCVMCPUCC pVCpu);1600 1599 /** @} */ 1601 1600 … … 2561 2560 return RT_BOOL(pCtx->eflags.u & X86_EFL_IF); 2562 2561 #endif 2563 }2564 2565 /**2566 * Returns the EPT pointer of the nested-guest.2567 *2568 * @returns The EPT pointer.2569 * @param pCtx Current CPU context.2570 */2571 DECLINLINE(uint64_t) CPUMGetGuestVmxEptPtrEx(PCCPUMCTX pCtx)2572 {2573 Assert(CPUMIsGuestInVmxNonRootMode(pCtx));2574 return pCtx->hwvirt.vmx.Vmcs.u64EptPtr.u;2575 2562 } 2576 2563 -
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r91975 r91985 3045 3045 } 3046 3046 3047 3048 /**3049 * Returns the EPT pointer of the nested-guest.3050 *3051 * @returns The EPT pointer.3052 * @param pVCpu The cross context virtual CPU structure.3053 */3054 VMM_INT_DECL(uint64_t) CPUMGetGuestVmxEptPtr(PCVMCPUCC pVCpu)3055 {3056 return CPUMGetGuestVmxEptPtrEx(&pVCpu->cpum.s.Guest);3057 }3058
Note:
See TracChangeset
for help on using the changeset viewer.

