[PATCH 0/2] efi_loader: multi part device paths to text

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Feb 18 18:30:42 CET 2021


Our current implementation of
EFI_DEVICE_PATH_TO_TEXT_PROTOCOL.ConvertDevicePathToText() truncates multi
part device paths after the first part. We should convert all parts.

Render device path instance ends as commas. This is not explicitly
described in the UEFI spec but mimics what EDK II does.

Provide a unit test for multi part device paths.

Heinrich Schuchardt (2):
  efi_loader: multi part device paths to text
  efi_selftest: multi part device path to text

 lib/efi_loader/efi_device_path_to_text.c   | 17 ++++--
 lib/efi_selftest/efi_selftest_devicepath.c | 65 ++++++++++++++++++++++
 2 files changed, 77 insertions(+), 5 deletions(-)

--
2.30.0



More information about the U-Boot mailing list