Re: [U-Boot] [PATCH] efi_laoder: Call Exit() on return from payload in StartImage()

2018-01-25 Thread Heinrich Schuchardt
On 01/26/2018 12:53 AM, Alexander Graf wrote: There is a typo in the subject "efi_laoder". When a UEFI payload just returns instead of calling the Exit() callback, we handle that in efi_do_enter() and call Exit on its behalf, so that the loaded_image->exit_status value is correct. We were

[U-Boot] [PATCH] efi_laoder: Call Exit() on return from payload in StartImage()

2018-01-25 Thread Alexander Graf
When a UEFI payload just returns instead of calling the Exit() callback, we handle that in efi_do_enter() and call Exit on its behalf, so that the loaded_image->exit_status value is correct. We were missing that logic in StartImage(). Call it there too. Reported-by: Heinrich Schuchardt