Re: [U-Boot] [PATCH 1/1] efi_loader: always call Exit after an image returns.

2018-01-23 Thread Alexander Graf
> Am 24.01.2018 um 01:05 schrieb Heinrich Schuchardt : > >> On 01/24/2018 12:31 AM, Alexander Graf wrote: >> >> >>> On 23.01.18 23:46, Heinrich Schuchardt wrote: >>> If an application or driver started via StartImage returns without >>> calling Exit, StartImage has to call

Re: [U-Boot] [PATCH 1/1] efi_loader: always call Exit after an image returns.

2018-01-23 Thread Heinrich Schuchardt
On 01/24/2018 12:31 AM, Alexander Graf wrote: > > > On 23.01.18 23:46, Heinrich Schuchardt wrote: >> If an application or driver started via StartImage returns without >> calling Exit, StartImage has to call Exit. This is mandated by the >> UEFI spec and we do the same in efi_do_enter(). >> >>

Re: [U-Boot] [PATCH 1/1] efi_loader: always call Exit after an image returns.

2018-01-23 Thread Alexander Graf
On 23.01.18 23:46, Heinrich Schuchardt wrote: > If an application or driver started via StartImage returns without > calling Exit, StartImage has to call Exit. This is mandated by the > UEFI spec and we do the same in efi_do_enter(). > > The patch looks bigger than it is. To avoid a forward

[U-Boot] [PATCH 1/1] efi_loader: always call Exit after an image returns.

2018-01-23 Thread Heinrich Schuchardt
If an application or driver started via StartImage returns without calling Exit, StartImage has to call Exit. This is mandated by the UEFI spec and we do the same in efi_do_enter(). The patch looks bigger than it is. To avoid a forward declaration function efi_exit() was moved up. Only one