dmi_tpm_firmware_version

Synopsis

#include <opendmi/entity/tpm-device.h>

typedef struct dmi_tpm_firmware_version {
    uint16_t major;
    uint16_t minor;
    uint32_t vendor_specific;
} dmi_tpm_firmware_version_t;

Description

The dmi_tpm_firmware_version_t structure holds the firmware version of a TPM 2.0 device, parsed from the TPM_PT_FIRMWARE_VERSION_1 and TPM_PT_FIRMWARE_VERSION_2 properties the structure carries. It is the type of the firmware_version_2 field of dmi_tpm_device_t, which is only meaningful when the firmware_version_format field of the device is DMI_TPM_FIRMWARE_VERSION_FORMAT_TPM_2.

Fields

major

Major version number, the high word of TPM_PT_FIRMWARE_VERSION_1.

minor

Minor version number, the low word of TPM_PT_FIRMWARE_VERSION_1.

vendor_specific

Vendor-specific part of the version, the value of TPM_PT_FIRMWARE_VERSION_2.

Standards

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