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>
This commit is contained in:
Ying-Chun Liu (PaulLiu)
2025-07-03 07:28:08 +01:00
committed by Ilias Apalodimas
parent aaf7be96c2
commit e7a85ec651
4 changed files with 72 additions and 0 deletions

View File

@@ -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
*