Chameleon

Chameleon Commit Details

Date:2010-02-21 05:36:45 (14 years 2 months ago)
Author:Rekursor
Commit:99
Parents: 98
Message:fixed slots would not enumerate well for laptops
Changes:
M/trunk/i386/libsaio/spd.c

File differences

trunk/i386/libsaio/spd.c
200200
201201
202202
203
203
204204
205205
206206
bool fullBanks = // needed at least for laptops
Platform.DMI.MemoryModules == Platform.DMI.MaxMemorySlots;
// Search MAX_RAM_SLOTS slots
for (i = 0; i < Platform.DMI.MaxMemorySlots; i++){
for (i = 0; i < MAX_RAM_SLOTS; i++){
slot = &Platform.RAM.DIMM[i];
spd_size = smb_read_byte_intel(base, 0x50 + i, 0);

Archive Download the corresponding diff file

Revision: 99