efi_loader: let the variable driver patch out the runtime
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 20 Jun 2019 13:25:48 +0000 (15:25 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 6 Jul 2019 19:25:32 +0000 (21:25 +0200)
commit29018abb09a6ad638df38d6df5ab089ef1115e3c
tree634ac13ff72e0a39a2c2de76b65fc1effae91676
parent24a238f7633cbebcc00b810d0ac1608233a81fbf
efi_loader: let the variable driver patch out the runtime

Our variable services are only provided at boottime. Therefore when
leaving boottime the variable function are replaced by dummy functions
returning EFI_UNSUPPORTED. Move this patching of the runtime table to the
variable services implementation. Executed it in ExitBootServices().

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