From: Tom Rini Date: Sun, 27 Mar 2016 18:30:21 -0400 Subject: [U-Boot] efi_loader: Fix some entry/exit points In-Reply-To: <1458779857-235556-1-git-send-email-agraf@suse.de> References: <1458779857-235556-1-git-send-email-agraf@suse.de> Message-ID: <20160327223021.GX23166@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: