Changeset 91975 in vbox
- Timestamp:
- Oct 21, 2021 5:07:40 PM (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
r91951 r91975 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); 1599 1600 /** @} */ 1600 1601 … … 2560 2561 return RT_BOOL(pCtx->eflags.u & X86_EFL_IF); 2561 2562 #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; 2562 2575 } 2563 2576 -
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r91951 r91975 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.

