␉static int idx = -1;␊ |
␉int␉map;␊ |
␊ |
␉if (!bootInfo->memDetect)␊ |
␉{␊ |
␉␉return false;␊ |
␉}␊ |
␊ |
␉idx++;␊ |
␉if (idx < MAX_RAM_SLOTS)␊ |
␉{␊ |
|
␉␉}␊ |
␉}␊ |
␊ |
␉value->byte = 2; // means Unknown␊ |
␉return true;␊ |
␉return false;␊ |
//␉value->byte = SMB_MEM_TYPE_DDR2;␊ |
//␉return true;␊ |
}␊ |
|
␉static int idx = -1;␊ |
␉int␉map;␊ |
␊ |
␉if (!bootInfo->memDetect)␊ |
␉{␊ |
␉␉return false;␊ |
␉}␊ |
␊ |
␉idx++;␊ |
␉if (idx < MAX_RAM_SLOTS)␊ |
␉{␊ |
|
␉␉}␊ |
␉}␊ |
␊ |
␉value->dword = 0; // means Unknown␊ |
␉return true;␊ |
␉return false;␊ |
//␉value->dword = 800;␊ |
//␉return true;␊ |
}␊ |
|
␉static int idx = -1;␊ |
␉int␉map;␊ |
␊ |
␉if (!bootInfo->memDetect)␊ |
␉{␊ |
␉␉return false;␊ |
␉}␊ |
␊ |
␉idx++;␊ |
␉if (idx < MAX_RAM_SLOTS)␊ |
␉{␊ |
|
␉␉}␊ |
␉}␊ |
␊ |
␉if (!bootInfo->memDetect)␊ |
␉{␊ |
␉␉return false;␊ |
␉}␊ |
␉value->string = NOT_AVAILABLE;␊ |
␉return true;␊ |
}␊ |
|
␉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);␊ |
|
␉␉}␊ |
␉}␊ |
␊ |
␉if (!bootInfo->memDetect)␊ |
␉{␊ |
␉␉return false;␊ |
␉}␊ |
␉value->string = NOT_AVAILABLE;␊ |
␉return true;␊ |
}␊ |
|
␉static int idx = -1;␊ |
␉int␉map;␊ |
␊ |
␉if (!bootInfo->memDetect)␊ |
␉{␊ |
␉␉return false;␊ |
␉}␊ |
␊ |
␉idx++;␊ |
␉if (idx < MAX_RAM_SLOTS)␊ |
␉{␊ |
|
␉␉}␊ |
␉}␊ |
␊ |
␉if (!bootInfo->memDetect)␊ |
␉{␊ |
␉␉return false;␊ |
␉}␊ |
␉value->string = NOT_AVAILABLE;␊ |
␉return true;␊ |
}␊ |