Skip to content

Commit 23aea6c

Browse files
jjohnson42Jarrod Johnson
authored andcommittedAug 13, 2011
For now, install the efi download protocol on the handle iPXE itself loaded from.
1 parent a847390 commit 23aea6c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/interface/efi/efi_download.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ int efi_download_install ( EFI_HANDLE *device_handle ) {
196196
EFI_BOOT_SERVICES *bs = efi_systab->BootServices;
197197
EFI_STATUS efirc;
198198
EFI_HANDLE handle = NULL;
199+
if (efi_loaded_image->DeviceHandle) { /* TODO: ensure handle is the NIC (maybe efi_image has a better way to indicate the handle doing SNP?) */
200+
handle = efi_loaded_image->DeviceHandle;
201+
}
202+
203+
199204

200205
DBG ( "Installing ipxe protocol interface (%p)... ",
201206
&ipxe_download_protocol_interface );

0 commit comments

Comments
 (0)