VirtualBox

Changeset 106629 in vbox


Ignore:
Timestamp:
Oct 23, 2024 5:30:46 PM (5 weeks ago)
Author:
vboxsync
Message:

VMM/CPUMR0: bugref:10794 Fix CPUID call to determine presence of IA32_ARCH_CAPABILITIES MSR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp

    r106628 r106629  
    371371            && cStdRange >= 7)
    372372        {
    373             uint32_t fEdxFeatures = ASMCpuId_EDX(7);
     373            uint32_t fEdxFeatures;
     374            ASMCpuId_Idx_ECX(7, 0, &u32Dummy, &u32Dummy, &u32Dummy, &fEdxFeatures);
    374375            if (   (fEdxFeatures & X86_CPUID_STEXT_FEATURE_EDX_ARCHCAP)
    375376                && (fFeatures & X86_CPUID_FEATURE_EDX_MSR))
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette