Changeset 20157 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 29, 2009 3:20:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r20034 r20157 508 508 if (pVM->cpum.s.enmCPUVendor == CPUMCPUVENDOR_AMD) 509 509 { 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 */ 510 513 511 514 }
Note:
See TracChangeset
for help on using the changeset viewer.