Chameleon

Chameleon Commit Details

Date:2010-02-25 00:21:52 (4 years 9 months ago)
Author:Rekursor
Commit:117
Parents: 116
Message: restored the mem detection desactivated by default but it should not be possible to reactivate it with UseMemDetect.
Changes:
M/trunk/i386/libsaio/spd.c
M/trunk/i386/libsaio/fake_efi.c

File differences

trunk/i386/libsaio/spd.c
165165
166166
167167
168
168
169169
170170
171171
{
static char asciiSerial[16];
static uint8_t serialnum=0;
uint32_t ret=0,i;
uint32_t ret=0;
if (spd[SPD_MEMORY_TYPE]==SPD_MEMORY_TYPE_SDRAM_DDR3) {// DDR3
ret = UIS(122) | (UIS(123)<<8) | (UIS(124)<<16) | ((UIS(125)&0x7f)<<24);
trunk/i386/libsaio/fake_efi.c
478478
479479
480480
481
482
481483
482484
483485
484486
487
488
489
485490
486491
487492
static void setupSmbiosConfigFile()
{
const char * value = getStringForKey(kSMBIOS, &bootInfo->bootConfig);
extern void scan_mem();
if (!value) value = "/Extra/smbios.plist";
if (loadConfigFile(value, &bootInfo->smbiosConfig) == -1) {
verbose("No SMBIOS replacement found\n");
}
// get a chance to scan mem dynamically if user asks for it while having the config options loaded as well
// as opposed to when it was in scan_platform()
scan_mem();
smbios_p = (EFI_PTR32) getSmbios(SMBIOS_PATCHED);// process smbios asap
}

Archive Download the corresponding diff file

Revision: 117