EFI applications may proceed to loading and starting an operating system. In this case they do not return to OpenWrt.
On the other hand they may return to OpenWrt. In this case they may either call EFI_BOOT_SERVICES.Exit of return directly with a status code. The first patch ensures correct handling of applications returning without calling EFI_BOOT_SERVICES.Exit. The second patch is necessary to output the actual status code of the EFI application. The third patch was split of the first version of the second. It contains the definition of all return codes of the UEFI standard. --- v2 put the updated patches into a patch series Heinrich Schuchardt (3): bootefi: allow return without EFI_BOOT_SERVICES.Exit efi_loader: provide meaningful status code efi_loader: define all known status codes cmd/bootefi.c | 38 +++++++++++++++++++++++++------------- include/efi.h | 47 ++++++++++++++++++++++++++++++++++------------- 2 files changed, 59 insertions(+), 26 deletions(-) -- 2.11.0 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot