efi_loader: move EFI_LOAD_FILE2_PROTOCOL_GUID
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 4 Dec 2020 02:33:41 +0000 (03:33 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 10 Dec 2020 08:15:32 +0000 (09:15 +0100)
commitb6f11098c9a619f480582b26edd26c5b195c69f4
treecfd26fc6214c102c774f15ab6b8935ba6c43c5f6
parent0e9d2d7bc25bd3114e8f6ff0d18cdf9ee675909c
efi_loader: move EFI_LOAD_FILE2_PROTOCOL_GUID

The EFI_LOAD_FILE_PROTOCOL_GUID and EFI_LOAD_FILE2_PROTOCOL_GUID are needed
to complement the implementation of the LoadFile() boot service.

Remove a duplicate declaration of a variable for the
EFI_LOAD_FILE2_PROTOCOL_GUID.
Move the remaining declaration to efi_boottime.c.
Add a variable for the EFI_LOAD_FILE_PROTOCOL_GUID.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_loader.h
lib/efi_loader/efi_boottime.c
lib/efi_loader/efi_load_initrd.c
lib/efi_selftest/efi_selftest_load_initrd.c