Changeset 77423 in vbox
- Timestamp:
- Feb 22, 2019 4:38:58 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 128984
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.cpp
r77106 r77423 4603 4603 */ 4604 4604 if ( !fForce 4605 && g_fHwvirtMsrsCached)4605 && ASMAtomicReadBool(&g_fHwvirtMsrsCached)) 4606 4606 { 4607 4607 memcpy(pMsrs, &g_HwvirtMsrs, sizeof(*pMsrs)); … … 4658 4658 g_HwvirtMsrs.u.vmx.u64VmFunc = ASMRdMsr(MSR_IA32_VMX_VMFUNC); 4659 4659 } 4660 g_fHwvirtMsrsCached = true;4660 ASMAtomicWriteBool(&g_fHwvirtMsrsCached, true); 4661 4661 } 4662 4662 else if (fCaps & SUPVTCAPS_AMD_V) 4663 4663 { 4664 4664 g_HwvirtMsrs.u.svm.u64MsrHwcr = ASMRdMsr(MSR_K8_HWCR); 4665 g_fHwvirtMsrsCached = true;4665 ASMAtomicWriteBool(&g_fHwvirtMsrsCached, true); 4666 4666 } 4667 4667 else
Note:
See TracChangeset
for help on using the changeset viewer.