mbox series

[0/3] efi: Add EFI Debug Support Table feature

Message ID 20250423213145.1959046-1-paulliu@debian.org
Headers show
Series efi: Add EFI Debug Support Table feature | expand

Message

Ying-Chun Liu (PaulLiu) April 23, 2025, 9:31 p.m. UTC
From: "Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>

I implemented the UEFI Specification version 2.10, specifically focusing on
the functionality described in Section 18.4, which details the EFI Debug
Support Table feature. This implementation ensures support for
hardware-assisted debugging and provides a standardized mechanism for
debuggers to discover and interact with system-level debug resources.

Ying-Chun Liu (PaulLiu) (3):
  efi: add EFI_SYSTEM_TABLE_POINTER for debug
  efi: add EFI_DEBUG_IMAGE_INFO_TABLE for debug
  efi: add EFI_DEBUG_IMAGE_INFO for debug

 include/efi_api.h             |  32 ++++++
 include/efi_loader.h          |   7 ++
 lib/efi_loader/efi_boottime.c | 196 ++++++++++++++++++++++++++++++++++
 lib/efi_loader/efi_setup.c    |   7 ++
 4 files changed, 242 insertions(+)

Comments

Peter Robinson April 24, 2025, 9:15 a.m. UTC | #1
Hi Ying-Chun,

> I implemented the UEFI Specification version 2.10, specifically focusing on
> the functionality described in Section 18.4, which details the EFI Debug
> Support Table feature. This implementation ensures support for
> hardware-assisted debugging and provides a standardized mechanism for
> debuggers to discover and interact with system-level debug resources.

I think this should be configurable, I suspect there would be usecases
where it would be useful to be able to disable this functionality.

Peter

> Ying-Chun Liu (PaulLiu) (3):
>   efi: add EFI_SYSTEM_TABLE_POINTER for debug
>   efi: add EFI_DEBUG_IMAGE_INFO_TABLE for debug
>   efi: add EFI_DEBUG_IMAGE_INFO for debug
>
>  include/efi_api.h             |  32 ++++++
>  include/efi_loader.h          |   7 ++
>  lib/efi_loader/efi_boottime.c | 196 ++++++++++++++++++++++++++++++++++
>  lib/efi_loader/efi_setup.c    |   7 ++
>  4 files changed, 242 insertions(+)
>
> --
> 2.39.5
>