efi_loader: split off detaching SetVirtualAddress()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 29 Jun 2019 01:32:52 +0000 (03:32 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 6 Jul 2019 19:25:32 +0000 (21:25 +0200)
commitee8ebaaaaedc21e06bf3c11c8589c2f201afb88c
treee78bc3406b3941af8e5cd200a4dfe74f05a7c156
parent1bb52fc2d20da0502c0514109e102bdcf3a25b6e
efi_loader: split off detaching SetVirtualAddress()

The runtime services SetVirtualAddress() and ConvertPointer() become
unavailable after SetVirtualAddress(). Other runtime services become
unavailable after ExitBootServices.

Move the update of SetVirtualAddress() and ConvertPointer() to
efi_relocate_runtime_table().

Use functions with the correct signature when detaching.

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