]> git.proxmox.com Git - efi-boot-shim.git/commit - tpm.c
shim: trigger to record further logs to tcg 2.0 final event log area
authorLans Zhang <jia.zhang@windriver.com>
Fri, 30 Sep 2016 02:46:31 +0000 (10:46 +0800)
committerPeter Jones <pmjones@gmail.com>
Fri, 30 Sep 2016 13:38:33 +0000 (09:38 -0400)
commitd3884fe8336be793e3b3ad5813f5e6c436d78d60
tree5175a92103a3cc20ce6b28754796de7a59682014
parent6c180c6004ac464d7e83c1dc4c24047fad281b32
shim: trigger to record further logs to tcg 2.0 final event log area

According to TCG EFI Protocol Specification for TPM 2.0 family,
all events generated after the invocation of EFI_TCG2_GET_EVENT_LOG
shall be stored in an instance of an EFI_CONFIGURATION_TABLE aka
EFI TCG 2.0 final events table. Hence, it is necessary to trigger the
internal switch through calling get_event_log() in order to allow
to retrieve the logs from OS runtime.

Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
tpm.c
tpm.h