]> git.ipfire.org Git - people/ms/u-boot.git/commit
efi_selftest: test start image
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 19 Jan 2018 18:01:05 +0000 (19:01 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Jan 2018 22:09:14 +0000 (23:09 +0100)
commit8218f7b5fc33628e84581a46446e6f9a2b66e844
treec5553c9ed41550d873c74d32209c4517480c09aa
parentcc20ed03f9887b45c834a066d0ecd098934fa43b
efi_selftest: test start image

This pair of tests checks the StartImage boot service.

Each test loads an EFI application into memory and starts it.
One returns by calling the Exit boot service. The other returns directly.

The tests are not built on x86_64 because the relocation code for the efi
binary cannot be created.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/arm/lib/Makefile
lib/efi_selftest/.gitignore [new file with mode: 0644]
lib/efi_selftest/Makefile
lib/efi_selftest/efi_selftest_miniapp_exit.c [new file with mode: 0644]
lib/efi_selftest/efi_selftest_miniapp_return.c [new file with mode: 0644]
lib/efi_selftest/efi_selftest_startimage_exit.c [new file with mode: 0644]
lib/efi_selftest/efi_selftest_startimage_return.c [new file with mode: 0644]