mbox series

[U-Boot,v3,0/2] efi_loader: correctly call images

Message ID 20180118192844.9724-1-xypron.glpk@gmx.de
Headers show
Series efi_loader: correctly call images | expand

Message

Heinrich Schuchardt Jan. 18, 2018, 7:28 p.m. UTC
This patch series fixes various problems with the StartImage boot
service. It further provides unit tests.

v3
	Supply two separate unit tests covering that the application either
	returns by calling the Exit service or with a simple return.
v2
	Do not build test on x68_64 due to a problem with the build
	system for EFI images.

Heinrich Schuchardt (2):
  efi_loader: correctly call images
  efi_selftest: test start image

 arch/arm/lib/Makefile                             |   1 +
 lib/efi_loader/efi_boottime.c                     |  21 ++-
 lib/efi_selftest/.gitignore                       |   2 +
 lib/efi_selftest/Makefile                         |  35 +++++
 lib/efi_selftest/efi_selftest_miniapp_exit.c      |  37 ++++++
 lib/efi_selftest/efi_selftest_miniapp_return.c    |  32 +++++
 lib/efi_selftest/efi_selftest_startimage_exit.c   | 149 ++++++++++++++++++++++
 lib/efi_selftest/efi_selftest_startimage_return.c | 149 ++++++++++++++++++++++
 8 files changed, 419 insertions(+), 7 deletions(-)
 create mode 100644 lib/efi_selftest/.gitignore
 create mode 100644 lib/efi_selftest/efi_selftest_miniapp_exit.c
 create mode 100644 lib/efi_selftest/efi_selftest_miniapp_return.c
 create mode 100644 lib/efi_selftest/efi_selftest_startimage_exit.c
 create mode 100644 lib/efi_selftest/efi_selftest_startimage_return.c