efi: Create ECPT table
authorJose Marinho <jose.marinho@arm.com>
Thu, 23 Dec 2021 14:51:07 +0000 (14:51 +0000)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 3 Sep 2022 07:35:48 +0000 (09:35 +0200)
commit6b92c1735205eef308a9e33ec90330a3e6d27fc3
tree002f171fa16a21af8ac0b938d804da7f3c2c946a
parent2b7a6e013fe9c4f8c8ed29d79f6757f8c482dc72
efi: Create ECPT table

The ECPT table will be included in the UEFI specification 2.9+.
The ECPT table was introduced in UEFI following the code-first path. The
acceptance ticket can be viewed at:
https://bugzilla.tianocore.org/show_bug.cgi?id=3591

The Conformance Profiles table is a UEFI configuration table that contains
GUID of the UEFI profiles that the UEFI implementation conforms with.

The ECPT table is created when CONFIG_EFI_ECPT=y.
The config is set by default.

Signed-off-by: Jose Marinho <jose.marinho@arm.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_api.h
include/efi_loader.h
lib/efi_loader/Kconfig
lib/efi_loader/Makefile
lib/efi_loader/efi_conformance.c [new file with mode: 0644]
lib/efi_loader/efi_setup.c
lib/uuid.c