Chameleon

Chameleon Commit Details

Date:2012-03-30 18:57:09 (7 years 10 months ago)
Author:MacMan
Commit:1911
Parents: 1910
Message:Chimera 1.9.1: Fixed CPU detection code for CPU_MODEL_WESTMERE, CPU_MODEL_WESTMERE_EX, CPU_MODEL_FIELDS and CPU_MODEL_JAKETOWN.
Changes:
M/branches/Chimera/i386/libsaio/smbios_getters.c
M/branches/Chimera/version

File differences

branches/Chimera/version
1
1
1.9.0
1.9.1
branches/Chimera/i386/libsaio/smbios_getters.c
135135
136136
137137
138
139
140
138141
139142
140143
......
142145
143146
144147
145
146
148
149
147150
148
151
152
153
154
149155
150156
151157
......
166172
167173
168174
169
170
171
172
173
174
175175
176176
177177
return true;
case CPU_MODEL_NEHALEM:// Intel Core i7, Xeon W35xx, Xeon X55xx, Xeon E55xx LGA1366 (45nm)
case CPU_MODEL_WESTMERE:// Intel Core i7, Xeon X56xx, Xeon E56xx, Xeon W36xx LGA1366 (32nm) 6 Core
case CPU_MODEL_WESTMERE_EX:// Intel Xeon E7
case CPU_MODEL_JAKETOWN:// Intel Core i7, Xeon E5 LGA2011 (32nm)
if (strstr(Platform.CPU.BrandString, "Xeon(R)"))
value->word = 0x0501;// Xeon
else
return true;
case CPU_MODEL_FIELDS:// Intel Core i5, i7, Xeon X34xx LGA1156 (45nm)
if (strstr(Platform.CPU.BrandString, "Core(TM) i5"))
value->word = 0x0601;// Core i5
if (strstr(Platform.CPU.BrandString, "Xeon(R)"))
value->word = 0x0501;// Xeon
else
value->word = 0x0701;// Core i7
if (strstr(Platform.CPU.BrandString, "Core(TM) i5"))
value->word = 0x0601;// Core i5
else
value->word = 0x0701;// Core i7
return true;
case CPU_MODEL_DALES:
else
value->word = 0x0701;// Core i7
return true;
case CPU_MODEL_WESTMERE:// Intel Core i7, Xeon X56xx, Xeon E56xx, Xeon W36xx LGA1366 (32nm) 6 Core
case CPU_MODEL_WESTMERE_EX:// Intel Xeon E7
case CPU_MODEL_JAKETOWN:// Intel Core i7, Xeon E5 LGA2011 (32nm)
value->word = 0x0501;// Core i7
return true;
}
}
}

Archive Download the corresponding diff file

Revision: 1911