Message ID | 20211230093950.31577-1-ivan.hu@canonical.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/2] lib: fwts_tpm.h: add new type definition | expand |
On 2021-12-30 02:39, Ivan Hu wrote: > The TCG PFP(TCG PC Client Platform Firmware Profile Specification) version 1.05 > adds several new TPM event log type. Add supporting the new log type. > > Signed-off-by: Ivan Hu <ivan.hu@canonical.com> > --- > src/lib/include/fwts_tpm.h | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/src/lib/include/fwts_tpm.h b/src/lib/include/fwts_tpm.h > index ca96f971..302940fa 100644 > --- a/src/lib/include/fwts_tpm.h > +++ b/src/lib/include/fwts_tpm.h > @@ -110,8 +110,13 @@ typedef enum { > EV_EFI_ACTION = 0x80000007, > EV_EFI_PLATFORM_FIRMWARE_BLOB = 0x80000008, > EV_EFI_HANDOFF_TABLES = 0x80000009, > + EV_EFI_PLATFORM_FIRMWARE_BLOB2 = 0x8000000a, > + EV_EFI_HANDOFF_TABLES2 = 0x8000000b, > + EV_EFI_VARIABLE_BOOT2 = 0x8000000c, > EV_EFI_HCRTM_EVENT = 0x80000010, > - EV_EFI_VARIABLE_AUTHORITY = 0x800000e0 > + EV_EFI_VARIABLE_AUTHORITY = 0x800000e0, > + EV_EFI_SPDM_FIRMWARE_BLOB = 0x800000e1, > + EV_EFI_SPDM_FIRMWARE_CONFIG = 0x800000e2 > } fwts_tpmlog_event_type; > > > Acked-by: Alex Hung <alex.hung@canonical.com>
diff --git a/src/lib/include/fwts_tpm.h b/src/lib/include/fwts_tpm.h index ca96f971..302940fa 100644 --- a/src/lib/include/fwts_tpm.h +++ b/src/lib/include/fwts_tpm.h @@ -110,8 +110,13 @@ typedef enum { EV_EFI_ACTION = 0x80000007, EV_EFI_PLATFORM_FIRMWARE_BLOB = 0x80000008, EV_EFI_HANDOFF_TABLES = 0x80000009, + EV_EFI_PLATFORM_FIRMWARE_BLOB2 = 0x8000000a, + EV_EFI_HANDOFF_TABLES2 = 0x8000000b, + EV_EFI_VARIABLE_BOOT2 = 0x8000000c, EV_EFI_HCRTM_EVENT = 0x80000010, - EV_EFI_VARIABLE_AUTHORITY = 0x800000e0 + EV_EFI_VARIABLE_AUTHORITY = 0x800000e0, + EV_EFI_SPDM_FIRMWARE_BLOB = 0x800000e1, + EV_EFI_SPDM_FIRMWARE_CONFIG = 0x800000e2 } fwts_tpmlog_event_type;
The TCG PFP(TCG PC Client Platform Firmware Profile Specification) version 1.05 adds several new TPM event log type. Add supporting the new log type. Signed-off-by: Ivan Hu <ivan.hu@canonical.com> --- src/lib/include/fwts_tpm.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)