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

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Apr 14 17:49:07 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

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 +-
 lib/efi_selftest/efi_selftest_devicepath_util.c | 275 ++++++++++++++++++++++++
 10 files changed, 540 insertions(+), 35 deletions(-)
 create mode 100644 lib/efi_selftest/efi_selftest_devicepath_util.c

-- 
2.14.2



More information about the U-Boot mailing list