
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