summaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-07-13 13:30:29 +0200
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2024-07-19 13:43:50 +0200
commit5c1b5e6bc59a047c2ac65b2c22a2b511658b0f15 (patch)
tree3db036f27cb7094c1a34714c3eb684611dcd6aed /include/efi_loader.h
parent7aab2b6c1f9cff9d7f1192651ea81b6855b28a33 (diff)
efi_loader: find distro device-path for media devices
The auto-generated load options for media device do not contain a partition node. We cannot expect the simple file protocol here. Get the partition device-path via the loaded image protocol. Fixes: e91b68fd6b83 ("efi_loader: load distro dtb in bootmgr") Reported-by: E Shattow <lucent@gmail.com> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Tested-by: E Shattow <lucent@gmail.com>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r--include/efi_loader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index ca8fc0820f6..f2e5063a970 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -1195,6 +1195,6 @@ efi_status_t efi_load_option_dp_join(struct efi_device_path **dp,
int efi_get_distro_fdt_name(char *fname, int size, int seq);
-void efi_load_distro_fdt(void **fdt, efi_uintn_t *fdt_size);
+void efi_load_distro_fdt(efi_handle_t handle, void **fdt, efi_uintn_t *fdt_size);
#endif /* _EFI_LOADER_H */