Chameleon

Chameleon Commit Details

Date:2010-08-05 15:57:31 (13 years 8 months ago)
Author:Azimutz
Commit:311
Parents: 310
Message:Missed this one.
Changes:
M/branches/azimutz/Chazileon/i386/libsaio/smbios_patcher.c

File differences

branches/azimutz/Chazileon/i386/libsaio/smbios_patcher.c
217217
218218
219219
220
220
221221
222222
223223
......
247247
248248
249249
250
250
251251
252252
253253
......
392392
393393
394394
395
395
396396
397397
398398
return 0x0301; // Core 2 Duo
}
//Azi: warning: ‘sm_get_bus_speed’ defined but not used
/*static int sm_get_bus_speed(const char *name, int table_num)
static int sm_get_bus_speed(const char *name, int table_num)
{
if (Platform.CPU.Vendor == 0x756E6547) // Intel
{
}
}
return 0;
}*/
}
static int sm_get_cputype (const char *name, int table_num)
{
{.name="SMmemserial",.table_type=17,.value_type=SMSTRING,.offset=0x18,.auto_str=sm_get_memserial},
{.name="SMmempart",.table_type=17,.value_type=SMSTRING,.offset=0x1A,.auto_str=sm_get_mempartno},
{.name="SMcputype",.table_type=131,.value_type=SMWORD,.offset=0x04,.auto_int=sm_get_cputype},
{.name="SMbusspeed",.table_type=132,.value_type=SMWORD,.offset=0x04,.auto_str=0}
{.name="SMbusspeed",.table_type=132,.value_type=SMWORD,.offset=0x04,.auto_int=sm_get_bus_speed}
};
struct smbios_table_description smbios_table_descriptions[]=

Archive Download the corresponding diff file

Revision: 311