From: Heinrich Schuchardt Date: Fri, 2 Sep 2022 12:58:45 +0000 (+0200) Subject: commands/efi/lsefisystab: Short text for EFI_CONFORMANCE_PROFILES_TABLE X-Git-Tag: grub-2.12-rc1~262 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77653d8a010299166007dc76580b51597312ccba;p=thirdparty%2Fgrub.git commands/efi/lsefisystab: Short text for EFI_CONFORMANCE_PROFILES_TABLE The EFI_CONFORMANCE_PROFILES_TABLE_GUID is used for a table of GUIDs for conformance profiles (cf. UEFI specification 2.10, 4.6.5 EFI_CONFORMANCE_PROFILE_TABLE). The lsefisystab command is used to display installed EFI configuration tables. Currently it only shows the GUID but not a short text for the table. Provide a short text for the EFI_CONFORMANCE_PROFILES_TABLE_GUID. Signed-off-by: Heinrich Schuchardt Reviewed-by: Daniel Kiper --- diff --git a/grub-core/commands/efi/lsefisystab.c b/grub-core/commands/efi/lsefisystab.c index f24906be6..ac3299b7f 100644 --- a/grub-core/commands/efi/lsefisystab.c +++ b/grub-core/commands/efi/lsefisystab.c @@ -37,6 +37,7 @@ static const struct guid_mapping guid_mappings[] = { { GRUB_EFI_ACPI_20_TABLE_GUID, "ACPI-2.0"}, { GRUB_EFI_ACPI_TABLE_GUID, "ACPI-1.0"}, + { GRUB_EFI_CONFORMANCE_PROFILES_TABLE_GUID, "CONFORMANCE PROFILES"}, { GRUB_EFI_CRC32_GUIDED_SECTION_EXTRACTION_GUID, "CRC32 GUIDED SECTION EXTRACTION"}, { GRUB_EFI_DEBUG_IMAGE_INFO_TABLE_GUID, "DEBUG IMAGE INFO"}, diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h index 7325d3c9f..b0d003aa1 100644 --- a/include/grub/efi/api.h +++ b/include/grub/efi/api.h @@ -294,6 +294,11 @@ { 0x9c, 0x10, 0x8b, 0x97, 0xa8, 0x3f, 0xfd, 0xfa } \ } +#define GRUB_EFI_CONFORMANCE_PROFILES_TABLE_GUID \ + { 0x36122546, 0xf7e7, 0x4c8f, \ + { 0xbd, 0x9b, 0xeb, 0x85, 0x25, 0xb5, 0x0c, 0x0b } \ + } + #define GRUB_EFI_DEBUG_IMAGE_INFO_TABLE_GUID \ { 0x49152e77, 0x1ada, 0x4764, \ { 0xb7, 0xa2, 0x7a, 0xfe, 0xfe, 0xd9, 0x5e, 0x8b } \