dmi_additional_info_entry

Synopsis

#include <opendmi/entity/additional-info.h>

#define DMI_ADDITIONAL_INFO_ENTRY_HEADER 5

typedef struct dmi_additional_info_entry {
    dmi_handle_t  referenced_handle;
    unsigned      referenced_offset;
    const char   *string;
    dmi_binary_t  value;
} dmi_additional_info_entry_t;

Description

The dmi_additional_info_entry_t structure describes one entry of the additional information structure, and is the type of the elements of the entries array of dmi_additional_info_t. It gives the value of one field of another structure.

DMI_ADDITIONAL_INFO_ENTRY_HEADER is the length, in bytes, of the part of an entry which precedes the value: the entry length, the referenced handle, the referenced offset and the string number.

Fields

referenced_handle

Handle of the structure the entry gives a value for.

referenced_offset

Offset of the field within the referenced structure, counted from the first byte of its header. The decoder warns when it falls within the header.

string

Optional string describing the value, such as the name of a new processor, nullptr if the entry has none.

value

Value of the field, referenced in place in the data of the structure: new contents of the field, or an enumerated value which has not been published yet. Its length is the one of the referenced field, that is the length of the entry less DMI_ADDITIONAL_INFO_ENTRY_HEADER, cut to what the structure holds.

Standards

DMTF SMBIOS Specification (DSP0134), version 2.6 or newer.