Chameleon

Chameleon Commit Details

Date:2010-07-28 06:26:23 (13 years 8 months ago)
Author:Rekursor
Commit:272
Parents: 271
Message:code cleanup after recent features addon.
Changes:
M/trunk/i386/libsaio/smbios_patcher.c
M/trunk/i386/libsaio/platform.h

File differences

trunk/i386/libsaio/smbios_patcher.c
248248
249249
250250
251
252251
253252
254253
255
256254
257255
258
259256
260257
261258
case 0x1C: // Intel Atom (45nm)
return sm_get_simplecputype();
case 0x1A: // Intel Core i7 LGA1366 (45nm)
Platform.CPU.BusFrequency = 4800;
return 0x0701;
case 0x1E: // Intel Core i5, i7 LGA1156 (45nm)
// get this opportunity to fill the known processor interconnect speed for cor i5/i7 in GT/s
Platform.CPU.BusFrequency = 4800;
return 0x0701;
case 0x1F: // Intel Core i5, i7 LGA1156 (45nm) ???
Platform.CPU.BusFrequency = 4800;
return 0x0601;
case 0x25: // Intel Core i3, i5, i7 LGA1156 (32nm)
return 0x0301;
trunk/i386/libsaio/platform.h
106106
107107
108108
109
110109
111110
112111
uint64_tTSCFrequency;// TSC Frequency Hz
uint64_tFSBFrequency;// FSB Frequency Hz
uint64_tCPUFrequency;// CPU Frequency Hz
uint64_tBusFrequency;// Bus Frequency Hz
uint32_tBrandString[16];// 48 Byte Branding String
uint32_tCPUID[CPUID_MAX][4];// CPUID 0..4, 80..81 Raw Values
} CPU;

Archive Download the corresponding diff file

Revision: 272