- Timestamp:
- Oct 25, 2021 9:15:40 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllMsrs.cpp
r91339 r92018 1440 1440 1441 1441 1442 /** 1443 * Get fixed IA32_VMX_EPT_VPID_CAP value for PGM and cpumMsrRd_Ia32VmxEptVpidCap. 1444 * 1445 * @returns Fixed IA32_VMX_EPT_VPID_CAP value. 1446 * @param pVCpu The cross context per CPU structure. 1447 */ 1448 VMM_INT_DECL(uint64_t) CPUMGetGuestIa32VmxEptVpidCap(PCVMCPU pVCpu) 1449 { 1450 RT_NOREF_PV(pVCpu); 1451 return pVCpu->cpum.s.Guest.hwvirt.vmx.Msrs.u64EptVpidCaps; 1452 } 1453 1454 1442 1455 /** @callback_method_impl{FNCPUMRDMSR} */ 1443 1456 static DECLCALLBACK(VBOXSTRICTRC) cpumMsrRd_Ia32VmxEptVpidCap(PVMCPUCC pVCpu, uint32_t idMsr, PCCPUMMSRRANGE pRange, uint64_t *puValue) 1444 1457 { 1445 1458 RT_NOREF_PV(pVCpu); RT_NOREF_PV(idMsr); RT_NOREF_PV(pRange); 1446 *puValue = pVCpu->cpum.s.Guest.hwvirt.vmx.Msrs.u64EptVpidCaps;1459 *puValue = CPUMGetGuestIa32VmxEptVpidCap(pVCpu); 1447 1460 return VINF_SUCCESS; 1448 1461 }
Note:
See TracChangeset
for help on using the changeset viewer.