A couple of patches around UEFI Debug Image Info Table
Subsystems (2)
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
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.
Signed-off-by Vincent Stehlé <[email protected]>
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
@@ -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
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)".
Signed-off-by Vincent Stehlé <[email protected]>
Cc Tom Rini <[email protected]>
--- lib/uuid.c | 4 ++++ 1 file changed, 4 insertions(+)
lib/uuid.c +4 -0
@@ -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