summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_debug_support.c
diff options
context:
space:
mode:
authorYing-Chun Liu (PaulLiu) <paul.liu@linaro.org>2025-07-03 07:28:08 +0100
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2025-07-03 12:25:56 +0300
commite7a85ec651ed5794eb9a837e1073f6b3146af501 (patch)
treed4d52ad183af11327eb10732e0670aa74f4bddfc /lib/efi_loader/efi_debug_support.c
parentaaf7be96c2c14aa190d39e50fa3606389eafda8e (diff)
efi: add EFI_DEBUG_IMAGE_INFO_TABLE for debug
EFI_DEBUG_IMAGE_INFO_TABLE is used to store EFI_LOADED_IMAGE for debug purpose. This commit adds the table to the EFI_CONFIGURATION_TABLE. This feature is described in UEFI Spec version 2.10. Section 18.4. The implementation ensures support for hardware-assisted debugging and provides a standardized mechanism for debuggers to discover and interact with system-level debug resources. Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Peter Robinson <pbrobinson@gmail.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'lib/efi_loader/efi_debug_support.c')
-rw-r--r--lib/efi_loader/efi_debug_support.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/efi_loader/efi_debug_support.c b/lib/efi_loader/efi_debug_support.c
index 649d21ef829..597592fbd1c 100644
--- a/lib/efi_loader/efi_debug_support.c
+++ b/lib/efi_loader/efi_debug_support.c
@@ -11,6 +11,12 @@
struct efi_system_table_pointer __efi_runtime_data * systab_pointer = NULL;
+struct efi_debug_image_info_table_header efi_m_debug_info_table_header = {
+ 0,
+ 0,
+ NULL
+};
+
/**
* efi_initialize_system_table_pointer() - Initialize system table pointer
*