Skip to content
Snippets Groups Projects
Commit 1cd29f0a authored by Alexander Graf's avatar Alexander Graf Committed by Tom Rini
Browse files

efi_loader: Fix some entry/exit points


When switching between EFI context and U-Boot context we need to swap
the register that "gd" resides in.

Some functions slipped through here, with efi_allocate_pool / efi_free_pool
not doing the switch correctly and efi_return_handle switching too often.

Fix them all up to make sure we always have consistent register state.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent edc498c6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment