VirtualBox

Changeset 20157 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
May 29, 2009 3:20:13 PM (16 years ago)
Author:
vboxsync
Message:

Multi core cpuid changes for AMD (untested)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/CPUM.cpp

    r20034 r20157  
    508508        if (pVM->cpum.s.enmCPUVendor == CPUMCPUVENDOR_AMD)
    509509        {
     510            /* Legacy method to determine the number of cores. */
     511            pCPUM->aGuestCpuIdExt[1].ecx |= X86_CPUID_AMD_FEATURE_ECX_CMPL;
     512            pCPUM->aGuestCpuIdExt[8].ecx |= (pVM->cCPUs - 1); /* NC: Number of CPU cores - 1; 8 bits */
    510513
    511514        }
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