All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 00/18] manage protocols in a linked list
@ 2017-11-12 14:02 Heinrich Schuchardt
  2017-11-12 14:02 ` [U-Boot] [PATCH v2 01/18] efi_loader: efi_bootmgr: do not make hidden assignments Heinrich Schuchardt
                   ` (17 more replies)
  0 siblings, 18 replies; 45+ messages in thread
From: Heinrich Schuchardt @ 2017-11-12 14:02 UTC (permalink / raw)
  To: u-boot

Up to now the protocols of an EFI handle where contained in an
array of fixed size. With the patch series the protocols are
managed in a linked list. This both saves memory and gives
more flexibility.

The LocateDevicePath boot service is implemented according
to the UEFI specification.

A unit test for the LocateDevicePath boot service and the
device path to text protocol are added.

Some bug fixes are provided.

v2
	Enhance the helloworld example to check if the image
	handle is passed corectly. Adjust the related py
	test.

	Use a helper function to initialize EFI objects.

	Further minor bug fixes.

Heinrich Schuchardt (18):
  efi_loader: efi_bootmgr: do not make hidden assignments
  efi_loader: size of media device path node represenation
  efi_loader: efi_dp_str should print path not node
  efi_loader: fix efi_convert_device_node_to_text
  efi_loader: reimplement LocateDevicePath
  efi_selftest: test EFI_DEVICE_PATH_TO_TEXT_PROTOCOL
  efi_loader: efi_disk: use efi_add_protocol
  efi_loader: efi_net: use efi_add_protocol
  efi_loader: efi_gop: use efi_add_protocol
  efi_loader: simplify efi_open_protocol
  efi_loader: simplify find_obj
  efi_loader: manage protocols in a linked list
  efi_selftest: compile without special compiler flags
  efi_selftest: add missing line feed
  efi_loader: output load options in helloworld
  test/py: check return code of helloworld
  efi_loader: pass handle of loaded image
  efi_loader: helper function to add EFI object to list

 cmd/bootefi.c                              |   7 +-
 include/efi_loader.h                       |   8 +-
 lib/efi_loader/efi_bootmgr.c               |   6 +-
 lib/efi_loader/efi_boottime.c              | 286 +++++++++++++-----------
 lib/efi_loader/efi_device_path.c           |  43 ++--
 lib/efi_loader/efi_device_path_to_text.c   | 161 +++++++-------
 lib/efi_loader/efi_disk.c                  |  38 ++--
 lib/efi_loader/efi_gop.c                   |  16 +-
 lib/efi_loader/efi_net.c                   |  35 +--
 lib/efi_loader/helloworld.c                |  31 ++-
 lib/efi_selftest/Makefile                  |  24 +-
 lib/efi_selftest/efi_selftest.c            |   2 +-
 lib/efi_selftest/efi_selftest_devicepath.c | 340 +++++++++++++++++++++++++++++
 test/py/tests/test_efi_loader.py           |   2 +
 14 files changed, 710 insertions(+), 289 deletions(-)
 create mode 100644 lib/efi_selftest/efi_selftest_devicepath.c

-- 
2.15.0

^ permalink raw reply	[flat|nested] 45+ messages in thread

end of thread, other threads:[~2017-11-21  4:01 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-12 14:02 [U-Boot] [PATCH v2 00/18] manage protocols in a linked list Heinrich Schuchardt
2017-11-12 14:02 ` [U-Boot] [PATCH v2 01/18] efi_loader: efi_bootmgr: do not make hidden assignments Heinrich Schuchardt
2017-11-17 14:04   ` Rob Clark
2017-11-17 17:46     ` Heinrich Schuchardt
2017-11-17 20:41       ` Rob Clark
2017-11-17 14:06   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 02/18] efi_loader: size of media device path node represenation Heinrich Schuchardt
2017-11-17 14:06   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 03/18] efi_loader: efi_dp_str should print path not node Heinrich Schuchardt
2017-11-17 14:06   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 04/18] efi_loader: fix efi_convert_device_node_to_text Heinrich Schuchardt
2017-11-17 14:06   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 05/18] efi_loader: reimplement LocateDevicePath Heinrich Schuchardt
2017-11-17 14:06   ` Simon Glass
2017-11-17 18:20     ` Heinrich Schuchardt
2017-11-12 14:02 ` [U-Boot] [PATCH v2 06/18] efi_selftest: test EFI_DEVICE_PATH_TO_TEXT_PROTOCOL Heinrich Schuchardt
2017-11-17 14:06   ` Simon Glass
2017-11-17 18:28     ` Heinrich Schuchardt
2017-11-21  4:01       ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 07/18] efi_loader: efi_disk: use efi_add_protocol Heinrich Schuchardt
2017-11-17 14:06   ` Simon Glass
2017-11-17 22:25     ` Heinrich Schuchardt
2017-11-12 14:02 ` [U-Boot] [PATCH v2 08/18] efi_loader: efi_net: " Heinrich Schuchardt
2017-11-17 14:06   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 09/18] efi_loader: efi_gop: " Heinrich Schuchardt
2017-11-17 14:06   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 10/18] efi_loader: simplify efi_open_protocol Heinrich Schuchardt
2017-11-17 14:06   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 11/18] efi_loader: simplify find_obj Heinrich Schuchardt
2017-11-17 14:06   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 12/18] efi_loader: manage protocols in a linked list Heinrich Schuchardt
2017-11-17 14:06   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 13/18] efi_selftest: compile without special compiler flags Heinrich Schuchardt
2017-11-17 14:06   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 14/18] efi_selftest: add missing line feed Heinrich Schuchardt
2017-11-17 14:07   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 15/18] efi_loader: output load options in helloworld Heinrich Schuchardt
2017-11-17 14:07   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 16/18] test/py: check return code of helloworld Heinrich Schuchardt
2017-11-17 14:07   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 17/18] efi_loader: pass handle of loaded image Heinrich Schuchardt
2017-11-17 14:07   ` Simon Glass
2017-11-12 14:02 ` [U-Boot] [PATCH v2 18/18] efi_loader: helper function to add EFI object to list Heinrich Schuchardt
2017-11-17 14:07   ` Simon Glass
2017-11-17 23:09     ` Heinrich Schuchardt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.