]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
commands/efi/lsefisystab: Short text for EFI_CONFORMANCE_PROFILES_TABLE
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 2 Sep 2022 12:58:45 +0000 (14:58 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 4 Oct 2022 14:02:53 +0000 (16:02 +0200)
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 <heinrich.schuchardt@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/commands/efi/lsefisystab.c
include/grub/efi/api.h

index f24906be67985c787de416ec268bbb6af3c676bc..ac3299b7fea3cb4e2ea48508ba8079bf32cb3771 100644 (file)
@@ -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"},
index 7325d3c9f2f5889a6db915a1997b511d3fc47b93..b0d003aa11647c860333faa83c2aa01a78d32ec9 100644 (file)
     { 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 } \