efi_loader: clean up runtime detaching
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 20 Jun 2019 22:00:02 +0000 (22:00 +0000)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 6 Jul 2019 19:25:32 +0000 (21:25 +0200)
commit24a238f7633cbebcc00b810d0ac1608233a81fbf
treed8c0686c43f418a4e3170f214d28b6528c52d7df
parent93148eba77dcab583ca2a28b7f837afe056a56a6
efi_loader: clean up runtime detaching

The detaching of the runtime will have to move to ExitBootServices() to
encompass operating system that do not call SetVirtualAddressMap().

This patch changes the logic for the relocation of the pointers in the
runtime table such that the relocation becomes independent of the entries
in the detach list.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_runtime.c