efi_loader: remove NULL entries from runtime detach list
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 29 Jun 2019 00:00:16 +0000 (02:00 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 6 Jul 2019 19:25:32 +0000 (21:25 +0200)
commit93148eba77dcab583ca2a28b7f837afe056a56a6
tree57723a578da6a8bc524dc290a780de9834894114
parent88192098d160aff42c08a9e4edc746a55d199232
efi_loader: remove NULL entries from runtime detach list

Some entries in the system table are set to NULL in ExitBootServices(). We
had them in the runtime detach list to avoid relocation of NULL. Let's
instead assign the pointers dynamically in efi_initialize_system_table() to
avoid the relocation entry.

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