]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: refactor efi_setup_loaded_image()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 23 Sep 2018 15:21:51 +0000 (17:21 +0200)
committerAlexander Graf <agraf@suse.de>
Sun, 23 Sep 2018 19:55:31 +0000 (21:55 +0200)
commitc982874e930d5d673501cd94df07bcbd215d5883
tree83538d2ee2c50b61a6dca207d3c5f5c60fd2ebeb
parenta47c1b5b87fcbd2bdb2e297d3c41d41c0c663967
efi_loader: refactor efi_setup_loaded_image()

Create the handle of loaded images and the EFI_LOADED_IMAGE_PROTOCOL
inside efi_setup_loaded_image(). Do not use local variables.

Currently we expect the loaded image handle to point to the loaded image
protocol. Additionally we have appended private fields to the protocol.

With the patch the handle points to a loaded image object and the private
fields are added here. This matches how we handle the net and the gop
object.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c
include/efi_api.h
include/efi_loader.h
lib/efi_loader/efi_boottime.c
lib/efi_loader/efi_image_loader.c