[U-Boot] [PATCH 00/18] efi_loader: refactor protocols management

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Oct 26 17:25:41 UTC 2017


This patch series starts refactoring the EFI boottime services
to enable the move from an array of protocols to a linke list.

The UninstallMultpleProtolInterfaces service is implemented.

Some bug fixes are provided.

This series is to be merged after the series
efi_loader: clean up protocol services
http://patchwork.ozlabs.org/project/uboot/list/?series=9531
https://lists.denx.de/pipermail/u-boot/2017-October/309913.html

Heinrich Schuchardt (18):
  efi_loader: fix typo efi_install_multiple_protocol_interfaces
  efi_loader: debug output efi_install_protocol_interface
  efi_loader implement UninstallMultipleProtocolInterfaces
  efi_loader: efi_gop: check calloc return value
  efi_loader: efi_disk: check return value of calloc
  efi_loader: efi_net: check return value of calloc
  efi_loader: efi_dp_match should have const arguments
  efi_loader: make efi_create_handle non-static
  efi_loader: argument of efi_search_obj should be const
  efi_loader: efi_gop: use correct types for parameters
  efi_selftest: test for graphics output protocol
  efi_loader: helper functions for protocol management
  efi_loader: simplify efi_install_protocol_interface
  efi_loader: simplify efi_search
  efi_loader: simplify efi_uninstall_protocol_interface
  efi_loader: simplify efi_locate_protocol
  efi_loader: refactor efi_setup_loaded_image
  efi_loader: efi_console: use helper functions

 include/efi_api.h                   |  10 +-
 include/efi_loader.h                |  31 ++--
 lib/efi_loader/efi_boottime.c       | 324 ++++++++++++++++++++++++------------
 lib/efi_loader/efi_console.c        |  48 ++++--
 lib/efi_loader/efi_device_path.c    |   3 +-
 lib/efi_loader/efi_disk.c           |  13 ++
 lib/efi_loader/efi_gop.c            |  18 +-
 lib/efi_loader/efi_net.c            |   4 +
 lib/efi_selftest/Makefile           |   3 +
 lib/efi_selftest/efi_selftest_gop.c |  95 +++++++++++
 10 files changed, 409 insertions(+), 140 deletions(-)
 create mode 100644 lib/efi_selftest/efi_selftest_gop.c

-- 
2.11.0



More information about the U-Boot mailing list