- Timestamp:
- Nov 17, 2009 4:04:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r23794 r24728 1084 1084 && pVM->cpum.s.enmGuestCpuVendor == CPUMCPUVENDOR_INTEL) 1085 1085 { 1086 /* Report unified L0cache, Linux'es num_cpu_cores() requires1086 /* Report L0 data cache, Linux'es num_cpu_cores() requires 1087 1087 * that to be non-0 to detect core count correctly. */ 1088 *pEax |= (1 << 5) | 3; 1088 *pEax |= (1 << 5) /* level 1 */ | 1 /* 1 - data cache, 2 - i-cache, 3 - unified */ ; 1089 *pEbx = 63 /* linesize 64 */ ; 1089 1090 } 1090 1091
Note:
See TracChangeset
for help on using the changeset viewer.