-
- Downloads
efi_loader: helper function to add EFI object to list
To avoid duplicate coding provide a helper function that initializes an EFI object and adds it to the EFI object list. efi_exit() is the only place where we dereference a handle to obtain a protocol interface. Add a comment to the function. Suggested-by:Alexander Graf <agraf@suse.de> Reviewed-by:
Simon Glass <sjg@chromium.org> Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by:
Alexander Graf <agraf@suse.de>
Showing
- include/efi_loader.h 2 additions, 0 deletionsinclude/efi_loader.h
- lib/efi_loader/efi_boottime.c 33 additions, 7 deletionslib/efi_loader/efi_boottime.c
- lib/efi_loader/efi_disk.c 1 addition, 3 deletionslib/efi_loader/efi_disk.c
- lib/efi_loader/efi_gop.c 1 addition, 3 deletionslib/efi_loader/efi_gop.c
- lib/efi_loader/efi_net.c 1 addition, 3 deletionslib/efi_loader/efi_net.c
Loading
Please register or sign in to comment