Re: [PATCH v8 12/25] efi: Move exit_boot_services into a function

2022-01-05 Thread Heinrich Schuchardt
On 1/4/22 11:52, Simon Glass wrote: Hi Heinrich, On Thu, 30 Dec 2021 at 22:41, Heinrich Schuchardt wrote: On 12/29/21 19:57, Simon Glass wrote: At present this code is inline in the app and stub. But they do the same thing. The difference is that the stub does it immediately and the app does

Re: [PATCH v8 12/25] efi: Move exit_boot_services into a function

2022-01-04 Thread Simon Glass
Hi Heinrich, On Thu, 30 Dec 2021 at 22:41, Heinrich Schuchardt wrote: > > On 12/29/21 19:57, Simon Glass wrote: > > At present this code is inline in the app and stub. But they do the same > > thing. The difference is that the stub does it immediately and the app > > doesn't want to do it until t

Re: [PATCH v8 12/25] efi: Move exit_boot_services into a function

2021-12-30 Thread Heinrich Schuchardt
On 12/29/21 19:57, Simon Glass wrote: At present this code is inline in the app and stub. But they do the same thing. The difference is that the stub does it immediately and the app doesn't want to do it until the end (when it boots a kernel) or not at all, if returning to UEFI. Move it into a f

[PATCH v8 12/25] efi: Move exit_boot_services into a function

2021-12-29 Thread Simon Glass
At present this code is inline in the app and stub. But they do the same thing. The difference is that the stub does it immediately and the app doesn't want to do it until the end (when it boots a kernel) or not at all, if returning to UEFI. Move it into a function so it can be called as needed.