Index: trunk/i386/libsaio/smbios_getters.c =================================================================== --- trunk/i386/libsaio/smbios_getters.c (revision 2735) +++ trunk/i386/libsaio/smbios_getters.c (revision 2736) @@ -497,11 +497,6 @@ static int idx = -1; int map; - if (!bootInfo->memDetect) - { - return false; - } - idx++; if (idx < MAX_RAM_SLOTS) { @@ -514,8 +509,7 @@ } } - value->byte = 2; // means Unknown - return true; + return false; // value->byte = SMB_MEM_TYPE_DDR2; // return true; } @@ -531,11 +525,6 @@ static int idx = -1; int map; - if (!bootInfo->memDetect) - { - return false; - } - idx++; if (idx < MAX_RAM_SLOTS) { @@ -548,8 +537,7 @@ } } - value->dword = 0; // means Unknown - return true; + return false; // value->dword = 800; // return true; } @@ -559,11 +547,6 @@ static int idx = -1; int map; - if (!bootInfo->memDetect) - { - return false; - } - idx++; if (idx < MAX_RAM_SLOTS) { @@ -576,6 +559,10 @@ } } + if (!bootInfo->memDetect) + { + return false; + } value->string = NOT_AVAILABLE; return true; } @@ -585,11 +572,6 @@ static int idx = -1; int map; - if (!bootInfo->memDetect) - { - return false; - } - idx++; //DBG("getSMBMemoryDeviceSerialNumber index: %d, MAX_RAM_SLOTS: %d\n", idx, MAX_RAM_SLOTS); @@ -605,6 +587,10 @@ } } + if (!bootInfo->memDetect) + { + return false; + } value->string = NOT_AVAILABLE; return true; } @@ -614,11 +600,6 @@ static int idx = -1; int map; - if (!bootInfo->memDetect) - { - return false; - } - idx++; if (idx < MAX_RAM_SLOTS) { @@ -631,6 +612,10 @@ } } + if (!bootInfo->memDetect) + { + return false; + } value->string = NOT_AVAILABLE; return true; }