commit | 1c34fa898060ad914043b45335000e35bdaaee38 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Thu Mar 24 01:37:37 2016 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sun Mar 27 09:13:02 2016 -0400 |
tree | a23d6d161fe43ba552d0e3880672b9f5299dfe38 | |
parent | cf464005e131e6b3848059d5aa52a0055eb18cf4 [diff] |
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: Alexander Graf <agraf@suse.de>