[U-Boot] [PATCH v2 0/8] efi_loader: fixes for EFI_DEVICE_PATH_UTILITIES_PROTOCOL

Heinrich Schuchardt xypron.glpk at gmx.de
Mon Apr 16 05:59:02 UTC 2018


We have merged into v2018.05-rc2 a first implementation of the
EFI_DEVICE_PATH_UTILITIES_PROTOCOL.

The current implementation does not correctly handle multi instance device
paths.

This patch series
* fixes handling of multi instance device paths
* adds missing services of the EFI_DEVICE_PATH_UTILITIES_PROTOCOL
* provides a unit test

v2
	add more comments to the unit test

Heinrich Schuchardt (8):
  efi_selftest: do not execute test if setup failed
  efi_selftest: fix typo in efi_selftest_devicepath.c
  efi_loader: implement CreateDeviceNode
  efi_loader: fix AppendDevicePath
  efi_loader: correctly determine length of empty device path
  efi_loader: correcty determine total device path length
  efi_loader: complete EFI_DEVICE_PATH_UTILITIES_PROTOCOL
  efi_selftest: test EFI_DEVICE_PATH_UTILITIES_PROTOCOL

 include/efi_api.h                             |   1 +
 include/efi_loader.h                          |  19 +-
 include/efi_selftest.h                        |   2 +
 lib/efi_loader/efi_boottime.c                 |   4 +-
 lib/efi_loader/efi_device_path.c              | 124 +++++++-
 lib/efi_loader/efi_device_path_utilities.c    | 133 +++++++-
 lib/efi_selftest/Makefile                     |   1 +
 lib/efi_selftest/efi_selftest.c               |  14 +-
 lib/efi_selftest/efi_selftest_devicepath.c    |   2 +-
 .../efi_selftest_devicepath_util.c            | 286 ++++++++++++++++++
 10 files changed, 551 insertions(+), 35 deletions(-)
 create mode 100644 lib/efi_selftest/efi_selftest_devicepath_util.c

-- 
2.17.0



More information about the U-Boot mailing list