25#ifndef LAZYBIOS_TYPE4_H
26#define LAZYBIOS_TYPE4_H
28#ifndef LAZYBIOS_SHARED_API_H
29#define LAZYBIOS_TYPE_HEADER_ONLY
31#undef LAZYBIOS_TYPE_HEADER_ONLY
void lazybiosFreeType4(lazybiosType4Array_t *Type4)
Releases a parsed set of SMBIOS Type 4 structures.
LAZYBIOS_WARN_UNUSED lazybiosType4Array_t * lazybiosGetType4(const lazybiosDMI_t *DMIData)
Parses all SMBIOS Type 4 structures.
Public API for lazybios. Include this and nothing else.
uint8_t lazybiosFieldStatus_t
Storage for one field's availability.
#define LAZYBIOS_WARN_UNUSED
Expands to nothing on compilers without a return-value check.
Owns raw DMI table data and its parsed SMBIOS entry point.
A parsed set of SMBIOS Type 4 structures.
lazybiosType4_t * entries
Decoded forms of the Type 4 encoded fields.
const char * processor_family_2
const char * processor_type
const char * processor_family
char * processor_characteristics
const char * processor_upgrade
Availability metadata for SMBIOS Type 4 fields.
lazybiosFieldStatus_t socket_designation
lazybiosFieldStatus_t voltage
lazybiosFieldStatus_t socket_type
lazybiosFieldStatus_t core_enabled_2
lazybiosFieldStatus_t part_number
lazybiosFieldStatus_t l2_cache_handle
lazybiosFieldStatus_t thread_enabled
lazybiosFieldStatus_t processor_type
lazybiosFieldStatus_t processor_family
lazybiosFieldStatus_t processor_manufacturer
lazybiosFieldStatus_t serial_number
lazybiosFieldStatus_t current_speed
lazybiosFieldStatus_t external_clock
lazybiosFieldStatus_t thread_count_2
lazybiosFieldStatus_t core_count_2
lazybiosFieldStatus_t core_enabled
lazybiosFieldStatus_t processor_characteristics
lazybiosFieldStatus_t max_speed
lazybiosFieldStatus_t status
lazybiosFieldStatus_t processor_id
lazybiosFieldStatus_t processor_upgrade
lazybiosFieldStatus_t processor_version
lazybiosFieldStatus_t thread_count
lazybiosFieldStatus_t asset_tag
lazybiosFieldStatus_t core_count
lazybiosFieldStatus_t l1_cache_handle
lazybiosFieldStatus_t processor_family_2
lazybiosFieldStatus_t l3_cache_handle
Parsed SMBIOS Type 4 Processor Information.
const char * serial_number
uint8_t processor_upgrade
const char * processor_version
uint16_t processor_family_2
lazybiosType4Decoded_t decoded
const char * socket_designation
lazybiosType4FieldStatus_t field_status
const char * processor_manufacturer
uint16_t processor_characteristics