Changeset 26990 in vbox for trunk/src/VBox/VMM/CPUM.cpp
- Timestamp:
- Mar 3, 2010 1:57:20 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/CPUM.cpp
r26664 r26990 568 568 /* If CPUID Fn0000_0001_EDX[HTT] = 1 then LogicalProcessorCount is the number of threads per CPU core times the number of CPU cores per processor */ 569 569 pCPUM->aGuestCpuIdStd[1].ebx |= (pVM->cCpus << 16); 570 pCPUM->aGuestCpuIdStd[1].edx |= X86_CPUID_FEATURE_EDX_HTT; /* necessary for hyper-threading *or* multi-core CPUs */ 570 if (pVM->cCpus > 1) 571 pCPUM->aGuestCpuIdStd[1].edx |= X86_CPUID_FEATURE_EDX_HTT; /* necessary for hyper-threading *or* multi-core CPUs */ 571 572 } 572 573 #endif
Note:
See TracChangeset
for help on using the changeset viewer.