Skip to contentSkip to conversation

A couple of patches around UEFI Debug Image Info Table

PATCH New Vincent Stehlé 1 participant 3 messages Oct 13, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover A couple of patches around UEFI Debug Image Info Table

Hi,

Here are a couple of patches related with the GUID of the UEFI Debug Image Info Table, which was added relatively recently.

Best regards,
Vincent.

Vincent Stehlé (2):
efi_loader: dbginfodump: use guid definition
lib: uuid: add efi debug image info table guid

 lib/efi_loader/dbginfodump.c | 4 +---
 lib/uuid.c                   | 4 ++++
 2 files changed, 5 insertions(+), 3 deletions(-)
Signature · 1 line
2.51.0
#1 lore raw

PATCH 1/2 efi_loader: dbginfodump: use guid definition

Use the Debug Image Info Table GUID definition from efi_api.h instead or redefining it locally.

Cc Heinrich Schuchardt <[email protected]>
Cc Ilias Apalodimas <[email protected]>
Cc Tom Rini <[email protected]>
---
 lib/efi_loader/dbginfodump.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
lib/efi_loader/dbginfodump.c +1 -3
index adbbd5060cc..55186bd03f4 100644
@@ -24,10 +24,8 @@ static efi_guid_t guid_device_path_to_text_protocol =
 
 static struct efi_device_path_to_text_protocol *device_path_to_text;
 
-/* EFI_DEBUG_IMAGE_INFO_TABLE_GUID */
 static const efi_guid_t dbg_info_guid =
-	EFI_GUID(0x49152E77, 0x1ADA, 0x4764, 0xB7, 0xA2,
-		 0x7A, 0xFE, 0xFE, 0xD9, 0x5E, 0x8B);
+	EFI_DEBUG_IMAGE_INFO_TABLE_GUID;
 
 /* EFI_DEBUG_IMAGE_INFO_NORMAL */
 struct dbg_info {
Signature · 1 line
2.51.0
#2 lore raw

PATCH 2/2 lib: uuid: add efi debug image info table guid

In reply to Vincent Stehlé

Add the EFI Debug Image Info Table GUID to the translation table used by uuid_guid_get_str().

This allows to print a human readable table name with `efidebug tables' instead of "(unknown)".

---
 lib/uuid.c | 4 ++++
 1 file changed, 4 insertions(+)
lib/uuid.c +4 -0
index 8d99b540d9f..e0f8d55438b 100644
@@ -256,6 +256,10 @@ static const struct {
 		RISCV_EFI_BOOT_PROTOCOL_GUID,
 	},
 #endif
+	{
+		NULL, "EFI Debug Image Info Table",
+		EFI_DEBUG_IMAGE_INFO_TABLE_GUID,
+	},
 #endif /* CONFIG_CMD_EFIDEBUG */
 #ifdef CONFIG_CMD_NVEDIT_EFI
 	/* signature database */
Signature · 1 line
2.51.0