efi_loader: unload applications upon Exit()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 1 May 2019 18:07:04 +0000 (20:07 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 7 May 2019 19:10:03 +0000 (21:10 +0200)
commit126a43f15b3627d39e71636f93c500d57adeb28a
tree392ed8d41871d1fb84c35e525894fc0e32c79c67
parentdf116e81ea62cf2fcc0f0f89ed328fe27e64ca67
efi_loader: unload applications upon Exit()

Implement unloading of images in the Exit() boot services:

* unload images that are not yet started,
* unload started applications,
* unload drivers returning an error.

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