1
0
mirror of https://xff.cz/git/u-boot/ synced 2026-01-09 03:39:17 +01:00
Files
u-boot-megous/lib
Alexander Graf a148920e12 efi_loader: Fix efi_exit gd clobbering
Commit f494950b (efi_loader: call __efi_exit_check in efi_exit) added a call
to __efi_exit_check inside efi_exit to account for the fact that we're exiting
the efi_exit function via a longjmp call.

However, __efi_exit_check also swizzles gd to the application gd while the
longjmp will put us back into EFI context, so we need the efi (u-boot) gd.

This patch fixes that up by explicitly setting gd back to efi_gd before
doing the longjmp. It also adds a few comments on why it does that.

Signed-off-by: Alexander Graf <agraf@suse.de>
2017-09-18 23:53:56 +02:00
..
2017-05-12 08:37:19 -04:00
2016-02-06 12:00:59 +01:00
2017-04-12 13:28:27 -04:00
2017-09-12 17:57:59 -04:00
2011-01-18 23:38:08 +01:00
2016-04-11 20:48:26 -04:00
2017-04-13 09:41:10 -04:00
2010-09-19 19:29:47 +02:00
2016-05-02 18:37:09 -04:00
2014-10-25 07:02:01 -04:00
2012-04-29 14:14:08 +02:00
2015-07-21 17:39:28 -06:00
2016-11-21 14:07:30 -05:00
2017-05-12 08:37:18 -04:00
2017-08-16 08:30:24 -04:00
2017-06-01 07:03:12 -06:00
2017-08-13 15:17:29 -04:00
2017-08-16 08:22:18 -04:00
2017-09-12 17:58:00 -04:00