25#ifndef LAZYBIOS_TYPE0_H
26#define LAZYBIOS_TYPE0_H
28#ifndef LAZYBIOS_SHARED_API_H
29#define LAZYBIOS_TYPE_HEADER_ONLY
31#undef LAZYBIOS_TYPE_HEADER_ONLY
void lazybiosFreeType0(lazybiosType0Array_t *Type0)
Releases a parsed set of SMBIOS Type 0 structures.
LAZYBIOS_WARN_UNUSED lazybiosType0Array_t * lazybiosGetType0(const lazybiosDMI_t *DMIData)
Parses all SMBIOS Type 0 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 0 structures.
lazybiosType0_t * entries
Decoded forms of the Type 0 encoded fields.
char * characteristics_ext_byte2
char extended_rom_size_unit[5]
char * characteristics_ext_byte1
uint16_t extended_rom_size
Availability metadata for SMBIOS Type 0 fields.
lazybiosFieldStatus_t firmware_char_ext_bytes_count
lazybiosFieldStatus_t release_date
lazybiosFieldStatus_t firmware_char_ext_bytes
lazybiosFieldStatus_t vendor
lazybiosFieldStatus_t characteristics
lazybiosFieldStatus_t bios_starting_segment
lazybiosFieldStatus_t rom_size
lazybiosFieldStatus_t version
lazybiosFieldStatus_t ec_major_release
lazybiosFieldStatus_t ec_minor_release
lazybiosFieldStatus_t platform_major_release
lazybiosFieldStatus_t platform_minor_release
lazybiosFieldStatus_t extended_rom_size
lazybiosFieldStatus_t unit
Parsed SMBIOS Type 0 BIOS Information.
lazybiosType0Decoded_t decoded
uint8_t platform_major_release
uint16_t bios_starting_segment
lazybiosType0FieldStatus_t field_status
size_t firmware_char_ext_bytes_count
uint16_t extended_rom_size
uint8_t * firmware_char_ext_bytes
const char * release_date
uint8_t platform_minor_release