Skip to content

Commit

Permalink
For now, install the efi download protocol on the handle iPXE itself …
Browse files Browse the repository at this point in the history
…loaded from.
  • Loading branch information
Jarrod Johnson authored and Jarrod Johnson committed Aug 13, 2011
1 parent a847390 commit 23aea6c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/interface/efi/efi_download.c
Expand Up @@ -196,6 +196,11 @@ int efi_download_install ( EFI_HANDLE *device_handle ) {
EFI_BOOT_SERVICES *bs = efi_systab->BootServices;
EFI_STATUS efirc;
EFI_HANDLE handle = NULL;
if (efi_loaded_image->DeviceHandle) { /* TODO: ensure handle is the NIC (maybe efi_image has a better way to indicate the handle doing SNP?) */
handle = efi_loaded_image->DeviceHandle;
}



DBG ( "Installing ipxe protocol interface (%p)... ",
&ipxe_download_protocol_interface );
Expand Down

0 comments on commit 23aea6c

Please sign in to comment.