Files
u-boot/cmd
xypron.glpk@gmx.de b06d8ac39e bootefi: allow return without EFI_BOOT_SERVICES.Exit
The Unified Extensible Firmware Interface Specification, version 2.7,
defines in chapter 2.1.2 - UEFI Application that an EFI application may
either directly return or call EFI_BOOT_SERVICES.Exit().

Unfortunately U-Boot makes the incorrect assumption that
EFI_BOOT_SERVICES.Exit() is always called.

So the following application leads to a memory exception on the aarch64
architecture when returning:

EFI_STATUS efi_main(
  EFI_HANDLE handle,
  EFI_SYSTEM_TABlE systable) {
	return EFI_SUCCESS;
}

With this patch the entry point is stored in the image handle.

The new wrapper function do_enter is used to call the EFI entry point.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
2017-07-19 14:14:40 +02:00
..
2017-02-08 15:56:28 -05:00
2017-04-12 13:28:27 -04:00
2017-07-03 17:35:28 -04:00
2016-03-22 12:16:08 -04:00
2016-09-09 15:53:14 -04:00
2017-06-16 10:11:42 -04:00
2016-05-02 18:37:09 -04:00
2016-04-18 17:11:36 -04:00
2017-03-17 14:15:10 -04:00
2017-01-20 09:15:24 -05:00
2017-03-28 06:27:54 +02:00
2017-06-12 08:37:55 -04:00
2017-06-09 11:24:01 -04:00
2017-02-08 15:56:28 -05:00
2017-07-03 17:35:28 -04:00
2016-01-25 10:39:43 -05:00
2016-12-27 11:24:18 -05:00
2016-10-06 20:57:42 -04:00
2017-06-02 10:16:46 -06:00
2017-06-12 08:37:55 -04:00
2016-09-07 08:49:02 -04:00
2017-07-08 15:55:30 -04:00
2017-06-12 08:37:55 -04:00
2016-03-27 09:12:55 -04:00
2017-03-26 13:22:58 -06:00
2016-02-26 08:53:10 -07:00