dmi_lenovo_date
Synopsis
#include <opendmi/entity/lenovo/records.h>
typedef struct dmi_lenovo_date {
uint32_t raw_date;
dmi_date_t date;
} dmi_lenovo_date_t;
Description
The dmi_lenovo_date_t structure holds the decoded Lenovo date record (type
134) of a ThinkPad. The date falls within the years the model has been made
in, and so is probably its manufacture date.
The structure is returned by dmi_entity_info for the structures decoded
by dmi_lenovo_date_spec, of type DMI_TYPE(lenovo_date), declared in
<opendmi/module/lenovo.h>, once the Lenovo extension module
(dmi_lenovo_module) is enabled, which is done for IBM and Lenovo platforms.
It lives as long as the context it has been decoded in. The structures of type
134 holding TPM information instead are told by their first string, see
dmi_lenovo_tpm_info.
The layout is reverse engineered from the dumps of the data corpus, since no public source describes the structure, and the members whose meaning is not established are named after their position.