]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: migrate SMBIOS 3.0 entry point structure for measurement
authorMasahisa Kojima <masahisa.kojima@linaro.org>
Fri, 26 Jan 2024 00:53:42 +0000 (09:53 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 26 Jan 2024 13:16:17 +0000 (14:16 +0100)
commit2497f6a84c0b906551d08054a631b86942cb4fa9
treea63258e146c46efca9daed3d1257fa4e2d702420
parentd4f721bc141354fb2f8fc7bf407ef63399e8e155
efi_loader: migrate SMBIOS 3.0 entry point structure for measurement

Current U-Boot only supports the SMBIOS 3.0 entry point structure.
TCG2 measurement code should migrate to SMBIOS 3.0 entry
point structure.

efi_selftest tcg2 test also needs to be updated, and expected
PCR[1] result is changed since guid for SMBIOS EFI system table
uses different guid SMBIOS3_TABLE_GUID instead of SMBIOS_TABLE_GUID.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/efi_loader.h
include/smbios.h
lib/efi_loader/efi_tcg2.c
lib/efi_selftest/efi_selftest_tcg2.c
lib/smbios-parser.c