Chameleon

Chameleon Commit Details

Date:2011-05-12 16:58:45 (8 years 1 month ago)
Author:Cosmosis Jones
Commit:804
Parents: 803
Message:added xeon cpu identifier for smbios NEHALEM
Changes:
M/trunk/i386/libsaio/smbios_getters.c

File differences

trunk/i386/libsaio/smbios_getters.c
135135
136136
137137
138
138
139
140
141
142
139143
140144
141145
142146
143147
144148
145
149
146150
147151
148152
return true;
case CPU_MODEL_NEHALEM:// Intel Core i7 LGA1366 (45nm)
value->word = 0x0701;// Core i7
if (strstr(Platform.CPU.BrandString, "Xeon(R)"))
value->word = 0x0501;// Xeon
else
value->word = 0x0701;// Core i7
return true;
case CPU_MODEL_FIELDS:// Lynnfield, Clarksfield, Jasper
if (strstr(Platform.CPU.BrandString, "Core(TM) i5"))
value->word = 0x601;// Core i5
else
value->word = 0x701;// Core i7
value->word = 0x0701;// Core i7
return true;
case CPU_MODEL_DALES:// Intel Core i5, i7 LGA1156 (45nm) (Havendale, Auburndale)

Archive Download the corresponding diff file

Revision: 804