Changeset 66040 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Mar 10, 2017 4:18:12 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 113906
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
r65905 r66040 1680 1680 pFeatures->fXop = RT_BOOL(pExtLeaf->uEcx & X86_CPUID_AMD_FEATURE_ECX_XOP); 1681 1681 pFeatures->fSvm = RT_BOOL(pExtLeaf->uEcx & X86_CPUID_AMD_FEATURE_ECX_SVM); 1682 if (pFeatures->fSvm) 1683 { 1684 PCCPUMCPUIDLEAF pSvmLeaf = cpumR3CpuIdFindLeaf(paLeaves, cLeaves, 0x8000000a); 1685 AssertLogRelReturn(pSvmLeaf, VERR_CPUM_IPE_1); 1686 pFeatures->svm.feat.u = pSvmLeaf->uEdx; 1687 pFeatures->svm.uMaxAsid = pSvmLeaf->uEbx; 1688 } 1682 1689 } 1683 1690 … … 3363 3370 pSvmFeatureLeaf->uEbx = 0x8000; /** @todo figure out virtual NASID. */ 3364 3371 pSvmFeatureLeaf->uEcx = 0; 3365 pSvmFeatureLeaf->uEdx = 0; /** @todo Support SVM features */3372 pSvmFeatureLeaf->uEdx = 0; /** @todo Support SVM features */ 3366 3373 } 3367 3374 else
Note:
See TracChangeset
for help on using the changeset viewer.