From 89ac875e161e5f592f33bf61cb0a2bc58c62951c Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Thu, 18 Feb 2021 16:47:47 -0500 Subject: tpm: minor cleanup: use EV_IPL not 0xd This does two things: - consolidates all our TPM event type #defines to one place - uses EV_IPL instead of hard-coding 0xd Signed-off-by: Peter Jones --- tpm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tpm.c') diff --git a/tpm.c b/tpm.c index 4b9d0d92..e1fcb8be 100644 --- a/tpm.c +++ b/tpm.c @@ -209,7 +209,7 @@ EFI_STATUS tpm_log_event(EFI_PHYSICAL_ADDRESS buf, UINTN size, UINT8 pcr, const CHAR8 *description) { return tpm_log_event_raw(buf, size, pcr, description, - strlen(description) + 1, 0xd, NULL); + strlen(description) + 1, EV_IPL, NULL); } EFI_STATUS tpm_log_pe(EFI_PHYSICAL_ADDRESS buf, UINTN size, -- cgit v1.2.3