diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/commonlib/bsd/include/commonlib/bsd/tpm_log_defs.h | 40 |
1 files changed, 21 insertions, 19 deletions
diff --git a/src/commonlib/bsd/include/commonlib/bsd/tpm_log_defs.h b/src/commonlib/bsd/include/commonlib/bsd/tpm_log_defs.h index 144d55a331..3a754173e5 100644 --- a/src/commonlib/bsd/include/commonlib/bsd/tpm_log_defs.h +++ b/src/commonlib/bsd/include/commonlib/bsd/tpm_log_defs.h @@ -24,25 +24,27 @@ #define SHA512_DIGEST_SIZE 64 #define SM3_256_DIGEST_SIZE 32 -#define EV_PREBOOT_CERT 0x00000000 -#define EV_POST_CODE 0x00000001 -#define EV_UNUSED 0x00000002 -#define EV_NO_ACTION 0x00000003 -#define EV_SEPARATOR 0x00000004 -#define EV_ACTION 0x00000005 -#define EV_EVENT_TAG 0x00000006 -#define EV_S_CRTM_CONTENTS 0x00000007 -#define EV_S_CRTM_VERSION 0x00000008 -#define EV_CPU_MICROCODE 0x00000009 -#define EV_PLATFORM_CONFIG_FLAGS 0x0000000A -#define EV_TABLE_OF_DEVICES 0x0000000B -#define EV_COMPACT_HASH 0x0000000C -#define EV_IPL 0x0000000D -#define EV_IPL_PARTITION_DATA 0x0000000E -#define EV_NONHOST_CODE 0x0000000F -#define EV_NONHOST_CONFIG 0x00000010 -#define EV_NONHOST_INFO 0x00000011 -#define EV_OMIT_BOOT_DEVICE_EVENTS 0x00000012 +enum ev_enum { + EV_PREBOOT_CERT, + EV_POST_CODE, + EV_UNUSED, + EV_NO_ACTION, + EV_SEPARATOR, + EV_ACTION, + EV_EVENT_TAG, + EV_S_CRTM_CONTENTS, + EV_S_CRTM_VERSION, + EV_CPU_MICROCODE, + EV_PLATFORM_CONFIG_FLAGS, + EV_TABLE_OF_DEVICES, + EV_COMPACT_HASH, + EV_IPL, + EV_IPL_PARTITION_DATA, + EV_NONHOST_CODE, + EV_NONHOST_CONFIG, + EV_NONHOST_INFO, + EV_OMIT_BOOT_DEVICE_EVENTS +}; struct spec_id_event_data { char signature[16]; |