mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-23 16:11:54 +00:00
a148920e12
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> |
||
---|---|---|
.. | ||
.gitignore | ||
efi_boottime.c | ||
efi_console.c | ||
efi_device_path_to_text.c | ||
efi_disk.c | ||
efi_gop.c | ||
efi_image_loader.c | ||
efi_memory.c | ||
efi_net.c | ||
efi_runtime.c | ||
efi_smbios.c | ||
helloworld.c | ||
Kconfig | ||
Makefile |