]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_selftest: on sandbox use host specific assembly
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 2 Sep 2022 00:46:37 +0000 (02:46 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 3 Sep 2022 06:16:09 +0000 (08:16 +0200)
commit2b7a6e013fe9c4f8c8ed29d79f6757f8c482dc72
tree811e6f97a0eec9a7a0ea766fa797523c86791f9b
parente053a144ca85ffbc8649bc3e170c408b42f92536
efi_selftest: on sandbox use host specific assembly

The selftest checking the handling of exceptions in UEFI binaries is using
assembly to provide an undefined instruction. On the sandbox the correct
form of the instruction depends on the host architecture.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_selftest/efi_selftest_miniapp_exception.c