Chameleon

Chameleon Commit Details

Date:2011-05-29 15:54:47 (12 years 10 months ago)
Author:Azimutz
Commit:914
Parents: 913
Message:Merge trunk (r913).
Changes:
M/branches/azimutz/Cleancut
M/branches/azimutz/Cleancut/i386/libsaio/cpu.c

File differences

branches/azimutz/Cleancut/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: 914