efi_loader: relocate pointer to tables
authorHeinrich Schuchardt <[email protected]>
Sat, 4 Aug 2018 21:16:06 +0000 (23:16 +0200)
committerAlexander Graf <[email protected]>
Mon, 20 Aug 2018 09:39:19 +0000 (11:39 +0200)
commit07240da293379cc3e50fef1615b14225d7d583af
tree3673c73545cbdf2418c060706a367bc0342ccd00
parentccfc78b820e5e431c5bd73b072e7536a972e1710
efi_loader: relocate pointer to tables

When applying a virtual memory map we have to update the pointer to the
list of configuration tables.

Fixes: 4182a129ef73 ("efi_loader: allocate configuration table array")
Reported-by: Mark Kettenis <[email protected]>
Signed-off-by: Heinrich Schuchardt <[email protected]>
Tested-by: Mark Kettenis <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
lib/efi_loader/efi_runtime.c