[PATCH 01/10] Add EFI handover support to bootm
Simon Glass
sjg at chromium.org
Sun Dec 8 16:29:35 CET 2024
On Sat, 23 Nov 2024 at 12:56, Matthew Garrett <mjg59 at srcf.ucam.org> wrote:
>
> From: Matthew Garrett <mgarrett at aurora.tech>
>
> We want to jump into the EFI stub in the kernel so it can perform
> appropriate init and call ExitBootServices. Add support for doing that,
> including ensuring that we copy the kernel to somewhere that's not
> currently being used by the firmware.
>
> Signed-off-by: Matthew Garrett <mgarrett at aurora.tech>
>
> ---
>
> arch/x86/lib/bootm.c | 49 ++++++++++++++++++++++++++++++--------------
> boot/bootm.c | 5 +++++
> include/bootm.h | 6 ++++++
> include/efi.h | 1 +
> lib/efi/efi.c | 1 +
> lib/efi/efi_app.c | 36 ++++++++++++++++++++++++++++++++
> 6 files changed, 83 insertions(+), 15 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to ci/master, thanks!
More information about the U-Boot
mailing list