efi: libstub: install boot-time memory map as config table
authorArd Biesheuvel <ardb@kernel.org>
Thu, 15 Sep 2022 21:20:06 +0000 (23:20 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Tue, 27 Sep 2022 11:22:49 +0000 (13:22 +0200)
commit171539f5a90e3fdf7d17f5396fac79d7e44ad68e
tree388301a71f5475a8c2bc922aaeabf46280efbeb6
parent4fc8e738ff3e6a208855bb69783280870c7cf251
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>
drivers/firmware/efi/libstub/arm64-stub.c
drivers/firmware/efi/libstub/efi-stub-helper.c
drivers/firmware/efi/libstub/efistub.h
drivers/firmware/efi/libstub/mem.c
drivers/firmware/efi/libstub/randomalloc.c
drivers/firmware/efi/libstub/relocate.c
include/linux/efi.h