efi_loader: relocate pointer to tables
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 4 Aug 2018 21:16:06 +0000 (23:16 +0200)
committerAlexander Graf <agraf@suse.de>
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 <mark.kettenis@xs4all.nl>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Tested-by: Mark Kettenis <kettenis@openbsd.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_runtime.c