bootm: add support for initrd in do_bootm_efi
authorAdriano Cordova <adrianox@gmail.com>
Wed, 19 Mar 2025 14:45:01 +0000 (11:45 -0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 11 Apr 2025 11:20:38 +0000 (13:20 +0200)
commit3d8e1b7b2df4559fe2ae99ece13d066893f660ea
treea40a64587e0c1af46c0b31494554061be689f247
parent36835a9105cf14a72556731e54300f8225190b17
bootm: add support for initrd in do_bootm_efi

Pass a pointer to a memory mapped initrd and its size to
efi_binary_run. The EFI stack will register an EFI_LOAD_FILE2_PROTOCOL
for the next boot stage to access this initrd.

Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
boot/bootm_os.c