summaryrefslogtreecommitdiff
path: root/include/tpm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tpm.h')
-rw-r--r--include/tpm.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/tpm.h b/include/tpm.h
index d5245875..877d4f93 100644
--- a/include/tpm.h
+++ b/include/tpm.h
@@ -3,10 +3,7 @@
#ifndef SHIM_TPM_H
#define SHIM_TPM_H
-#include <efilib.h>
-
#define TPM_ALG_SHA 0x00000004
-#define EV_IPL 0x0000000d
EFI_STATUS tpm_log_event(EFI_PHYSICAL_ADDRESS buf, UINTN size, UINT8 pcr,
const CHAR8 *description);
@@ -176,6 +173,7 @@ typedef struct efi_tpm2_protocol efi_tpm2_protocol_t;
typedef UINT32 TCG_EVENTTYPE;
+#define EV_IPL 0x0000000d
#define EV_EFI_EVENT_BASE ((TCG_EVENTTYPE) 0x80000000)
#define EV_EFI_VARIABLE_DRIVER_CONFIG (EV_EFI_EVENT_BASE + 1)
#define EV_EFI_VARIABLE_BOOT (EV_EFI_EVENT_BASE + 2)