Cache level, configuration, capacity, SRAM type, and associativity interpretation.
lazybiosGetType7 returns a lazybiosType7Array_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 lazybiosFreeType7, or assign it to ctx->Type7 and let lazybiosCleanup own it.
Every record carries its own SMBIOS handle and the structure length the firmware reported.
Encoded fields are decoded during parsing into decoded, which mirrors the raw member names (associativity, error_correction_type, installed_cache_size_2, installed_size, among others). The raw value stays alongside it, so both the encoding and its meaning are available.
Use decoded.installed_size for maximum_cache_size and installed_size. When either 16-bit field is 0xFFFF, use its matching SMBIOS 3.1 extended field with decoded.installed_cache_size_2. Both helpers return KiB.
decoded.cache_configuration decodes cache level, socketed state, location, enabled state, and operational mode. The socket designation remains a firmware-provided string.
Use decoded.supported_sram_type for supported and current SRAM bit fields. Error correction, system cache type, and associativity use decoded.error_correction_type, decoded.system_cache_type, and decoded.associativity respectively.