]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Avoid unnecessarily passing pointers to EFI_HANDLEs
authorMichael Brown <mcb30@ipxe.org>
Thu, 31 Jul 2014 11:22:40 +0000 (12:22 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 31 Jul 2014 11:50:09 +0000 (12:50 +0100)
commit4a480f1d1565aa5972c4fc27ceec8ae4b9b1e86c
tree7d6cc53d78cc711330425810dd78320ab5aaaf81
parent88bd71a27abb658a2ac12b54ed78c5cfd4c99f53
[efi] Avoid unnecessarily passing pointers to EFI_HANDLEs

efi_file_install() and efi_download_install() are both used to install
onto existing handles.  There is therefore no need to allow for each
of their calls to InstallMultipleProtocolInterfaces() to create a new
handle.

By passing the handle directly (rather than a pointer to the handle),
we avoid potential confusion (and erroneous debug message colours).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/image/efi_image.c
src/include/ipxe/efi/efi_download.h
src/include/ipxe/efi/efi_file.h
src/interface/efi/efi_download.c
src/interface/efi/efi_file.c