dmi_lenovo_ecp
Synopsis
#include <opendmi/entity/lenovo/oem.h>
typedef struct dmi_lenovo_ecp {
dmi_binary_t signature;
uint8_t offset;
uint8_t number;
uint8_t revision;
const char *version;
const char *release_date;
} dmi_lenovo_ecp_t;
Description
The dmi_lenovo_ecp_t structure holds the decoded Lenovo ThinkPad embedded
controller program, OEM structure 7 of revision 1 of type 140, which tells the
version of the program of the embedded controller, which the README files of
the firmware updates of Lenovo name.
The structure is returned by dmi_entity_info for the structures decoded
by dmi_lenovo_ecp_spec, of type DMI_TYPE(lenovo_ecp), 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.
Fields
signature-
Signature,
LENOVO. offset-
Offset of the OEM structure,
0x0B. number-
Number of the OEM structure,
7. revision-
Revision of the format of the OEM structure,
1. version-
Version ID of the program, e.g.
N20HT28W. release_date-
Release date of the program, as the firmware writes it, e.g.
10/08/2020.