mirror of
https://github.com/ipxe/ipxe
synced 2025-12-30 13:11:11 +03:00
[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 <mcb30@ipxe.org>
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include <ipxe/efi/Protocol/DevicePath.h>
|
||||
#include <ipxe/efi/Protocol/HiiConfigAccess.h>
|
||||
#include <ipxe/efi/Protocol/HiiDatabase.h>
|
||||
#include <ipxe/efi/Protocol/LoadFile.h>
|
||||
|
||||
/** 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 */
|
||||
|
||||
Reference in New Issue
Block a user