]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/Smbios: Done measure Smbios multiple times.
authorJiewen Yao <jiewen.yao@intel.com>
Tue, 31 Dec 2019 01:02:52 +0000 (09:02 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 6 Jan 2020 06:23:19 +0000 (06:23 +0000)
commitf27390516198b7a39bf1d306327a6b4334788390
tree3e9a345755b7302a067e8c484bf08c49a0a3556d
parent4fa25853cdccc1e6bcb613180d730d010f6d6a6b
MdeModulePkg/Smbios: Done measure Smbios multiple times.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439

In current implementation, the SMBIOS table is measured multiple
time in every readytoboot event.

This causes Smbios Table record appears multiple time in the TCG event log
and confuses people.

This issue makes it hard to implement 800-155 reference measurement.

This patch closes the event to make sure Smbios is measured only once.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Dandan Bi <dandan.bi@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
MdeModulePkg/Universal/SmbiosMeasurementDxe/SmbiosMeasurementDxe.c