Legacy memory-module socket, connection, capacity, and error information.
lazybiosGetType6 returns a lazybiosType6Array_t holding every matching structure. Iterate entries using count. A non-NULL result whose count is zero means the table contains no structure of this type; NULL means the arguments were unusable or an allocation failed. Release the set with lazybiosFreeType6, or assign it to ctx->Type6 and let lazybiosCleanup own it.
Every record carries its own SMBIOS handle and the structure length the firmware reported.
lazybiosGetType6 returns one structure for each legacy memory-module socket into a result set. Type 5 handle arrays identify their associated Type 6 structures.
decoded.bank_connections decodes the two RAS connection nibbles; a nibble value of 0xF means no connection. Current speed is expressed in nanoseconds and zero means unknown. Decode memory-type and error-status flags with decoded.current_memory_type and decoded.error_status.
Installed and enabled sizes encode 2^n MiB in bits 6:0 and the single- or double-bank connection in bit 7. Low seven-bit values 0x7D, 0x7E, and 0x7F describe an undetermined installed size, an installed module with no enabled memory, and an unpopulated socket. Use decoded.installed_size and decoded.enabled_size to apply these rules.
Release the returned structures and socket-designation strings with lazybiosFreeType6, or assign them to lazybiosCTX::Type6 and use lazybiosCleanup.