Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66fc8582 authored by Ard Biesheuvel's avatar Ard Biesheuvel Committed by Kees Cook
Browse files

UPSTREAM: efi: split off remapping code from efi_config_init()



Split of the remapping code from efi_config_init() so that the caller
can perform its own remapping. This is necessary to correctly handle
virtually remapped UEFI memory regions under kexec, as efi.systab will
have been updated to a virtual address.

Acked-by: default avatarMatt Fleming <matt.fleming@intel.com>
Tested-by: default avatarLeif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>

(cherry picked from commit 7bb68410ef22067b08fd52887875b8f337f89dcc)
Signed-off-by: default avatarTomasz Figa <tfiga@chromium.org>

Bug: 24475017

Change-Id: Ib684bba9f6e8e9f72cdef1c514ea273c05a45e83
Signed-off-by: default avatarKees Cook <keescook@google.com>
parent 20f2b4c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment