Chameleon

Chameleon Commit Details

Date:2011-05-29 15:23:12 (12 years 10 months ago)
Author:Evan Lojewski
Commit:913
Parents: 912
Message:Fixed cpu model check for msr MSR_CORE_THREAD_COUNT, accidentaly changed the lower limit.
Changes:
M/trunk/i386/libsaio/cpu.c

File differences

trunk/i386/libsaio/cpu.c
138138
139139
140140
141
141
142142
143143
144144
if (p->CPU.Vendor == 0x756E6547 /* Intel */ &&
p->CPU.Family == 0x06 &&
p->CPU.Model >= CPUID_MODEL_PENRYN &&
p->CPU.Model >= CPUID_MODEL_NEHALEM &&
p->CPU.Model != CPUID_MODEL_ATOM // MSR is *NOT* available on the Intel Atom CPU
){
msr = rdmsr64(MSR_CORE_THREAD_COUNT);// Undocumented MSR in Nehalem and newer CPUs

Archive Download the corresponding diff file

Revision: 913