lazybios 3.0.0
Lightweight SMBIOS/DMI parsing library
Loading...
Searching...
No Matches
Type 4: Processor Information

Processor socket, identity, topology, and status parsing and decoding. More...

Data Structures

struct  lazybiosType4_t
 Parsed SMBIOS Type 4 Processor Information. More...
struct  lazybiosType4Array_t
 A parsed set of SMBIOS Type 4 structures. More...

Functions

void lazybiosFreeType4 (lazybiosType4Array_t *Type4)
 Releases a parsed set of SMBIOS Type 4 structures.
LAZYBIOS_WARN_UNUSED lazybiosType4Array_tlazybiosGetType4 (const lazybiosDMI_t *DMIData)
 Parses all SMBIOS Type 4 structures.

Detailed Description

Processor socket, identity, topology, and status parsing and decoding.

Function Documentation

◆ lazybiosFreeType4()

void lazybiosFreeType4 ( lazybiosType4Array_t * Type4)

#include <type4.h>

Releases a parsed set of SMBIOS Type 4 structures.

Parameters
Type4Set to release; may be NULL.

References lazybiosFreeType4().

Referenced by lazybiosFreeType4().

◆ lazybiosGetType4()

LAZYBIOS_WARN_UNUSED lazybiosType4Array_t * lazybiosGetType4 ( const lazybiosDMI_t * DMIData)

#include <type4.h>

Parses all SMBIOS Type 4 structures.

Parameters
DMIDataRaw DMI table container to parse.
Returns
Newly allocated set, empty when the table holds no Type 4 structure, or NULL when the arguments are unusable or an allocation fails.

References LAZYBIOS_WARN_UNUSED, and lazybiosGetType4().

Referenced by lazybiosGetType4().