[U-Boot] efi_loader: Fix some entry/exit points

Tom Rini trini at konsulko.com
Mon Mar 28 00:30:21 CEST 2016


On Thu, Mar 24, 2016 at 01:37:37AM +0100, Alexander Graf wrote:

> 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 at suse.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160327/dfdc4b25/attachment.sig>


More information about the U-Boot mailing list