From c7c3d839fc9120aee28de9aabe452dc85ad91502 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 13 Mar 2013 22:42:26 +0000 Subject: [efi] Add our own EFI_LOAD_FILE_PROTOCOL implementation When iPXE is used as a UEFI driver, the UEFI PXE base code currently provides the TCP/IP stack, network protocols, and user interface. This represents a substantial downgrade from the standard BIOS iPXE user experience. Fix by installing our own EFI_LOAD_FILE_PROTOCOL implementation which initiates the standard iPXE boot procedure. This upgrades the UEFI iPXE user experience to match the standard BIOS iPXE user experience. Signed-off-by: Michael Brown --- src/include/ipxe/efi/efi_snp.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include/ipxe/efi') diff --git a/src/include/ipxe/efi/efi_snp.h b/src/include/ipxe/efi/efi_snp.h index 074d1b27d..379164597 100644 --- a/src/include/ipxe/efi/efi_snp.h +++ b/src/include/ipxe/efi/efi_snp.h @@ -16,6 +16,7 @@ #include #include #include +#include /** An SNP device */ struct efi_snp_device { @@ -49,6 +50,8 @@ struct efi_snp_device { EFI_NETWORK_INTERFACE_IDENTIFIER_PROTOCOL nii; /** Component name protocol */ EFI_COMPONENT_NAME2_PROTOCOL name2; + /** Load file protocol handle */ + EFI_LOAD_FILE_PROTOCOL load_file; /** HII configuration access protocol */ EFI_HII_CONFIG_ACCESS_PROTOCOL hii; /** HII package list */ -- cgit v1.2.3-55-g7522