diff options
author | Masahisa Kojima <masahisa.kojima@linaro.org> | 2021-10-26 17:27:25 +0900 |
---|---|---|
committer | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2021-10-26 21:32:46 +0200 |
commit | ce3dbc5d080de8045dd5e2b512cad75434ba4cf5 (patch) | |
tree | 914447046e0c0668321d7e749eeede4e2c0ccc47 /include/efi_tcg2.h | |
parent | 3d49ee8510d38e7fd087c7250a3f4392a38bf0dd (diff) | |
download | u-boot-ce3dbc5d080de8045dd5e2b512cad75434ba4cf5.zip u-boot-ce3dbc5d080de8045dd5e2b512cad75434ba4cf5.tar.gz u-boot-ce3dbc5d080de8045dd5e2b512cad75434ba4cf5.tar.bz2 |
efi_loader: add UEFI GPT measurement
This commit adds the UEFI GPT disk partition topology
measurement required in TCG PC Client Platform Firmware
Profile Specification
Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>
Diffstat (limited to 'include/efi_tcg2.h')
-rw-r--r-- | include/efi_tcg2.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/efi_tcg2.h b/include/efi_tcg2.h index ca66695..50a59f9 100644 --- a/include/efi_tcg2.h +++ b/include/efi_tcg2.h @@ -225,6 +225,18 @@ struct smbios_handoff_table_pointers2 { struct efi_configuration_table table_entry[]; } __packed; +/** + * struct tdUEFI_GPT_DATA - event log structure of industry standard tables + * @uefi_partition_header: gpt partition header + * @number_of_partitions: the number of partition + * @partitions: partition entries + */ +struct efi_gpt_data { + gpt_header uefi_partition_header; + u64 number_of_partitions; + gpt_entry partitions[]; +} __packed; + struct efi_tcg2_protocol { efi_status_t (EFIAPI * get_capability)(struct efi_tcg2_protocol *this, struct efi_tcg2_boot_service_capability *capability); |