Skip to content
Commit 24638a1f authored by Alexander Graf's avatar Alexander Graf
Browse files

efi_loader: Fix loaded_image handle passing from EL3



When running in EL3 mode on AArch64, we have to first drop to EL2
to execute a UEFI payload. When dropping down, the arguments to
the entry point have to stay identical to the ones for normal entry
though.

In commit ea54ad59 ("efi_loader: pass handle of loaded image")
we incorrectly changed that logic and had the el3 entry path diverge.
Fix it up by syncing it back to what it's supposed to be.

Fixes: ea54ad59 ("efi_loader: pass handle of loaded image")
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
Reviewed-by: default avatarMark Kettenis <kettenis@openbsd.org>
parent a729eb34
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment