diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-09-15 23:20:06 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2022-09-27 13:22:49 +0200 |
commit | 171539f5a90e3fdf7d17f5396fac79d7e44ad68e (patch) | |
tree | 388301a71f5475a8c2bc922aaeabf46280efbeb6 /drivers/firmware/efi/libstub/efistub.h | |
parent | efi: libstub: remove DT dependency from generic stub (diff) | |
download | linux-dev-171539f5a90e3fdf7d17f5396fac79d7e44ad68e.tar.xz linux-dev-171539f5a90e3fdf7d17f5396fac79d7e44ad68e.zip |
efi: libstub: install boot-time memory map as config table
Expose the EFI boot time memory map to the kernel via a configuration
table. This is arch agnostic and enables future changes that remove the
dependency on DT on architectures that don't otherwise rely on it.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/efistub.h')
-rw-r--r-- | drivers/firmware/efi/libstub/efistub.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/firmware/efi/libstub/efistub.h b/drivers/firmware/efi/libstub/efistub.h index f06d753a1ec9..fc90e453bbbb 100644 --- a/drivers/firmware/efi/libstub/efistub.h +++ b/drivers/firmware/efi/libstub/efistub.h @@ -876,7 +876,8 @@ void efi_apply_loadoptions_quirk(const void **load_options, int *load_options_si char *efi_convert_cmdline(efi_loaded_image_t *image, int *cmd_line_len); -efi_status_t efi_get_memory_map(struct efi_boot_memmap **map); +efi_status_t efi_get_memory_map(struct efi_boot_memmap **map, + bool install_cfg_tbl); efi_status_t efi_allocate_pages(unsigned long size, unsigned long *addr, unsigned long max); |