]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: EFI_PXE_BASE_CODE_PROTOCOL stub
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 6 Aug 2019 06:13:33 +0000 (08:13 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 15 Aug 2019 18:33:10 +0000 (20:33 +0200)
commita6d37098bd271057743e7e193703c1569ec9f709
tree391d4c837c79e4f7f105f08046301c43555f5cab
parentdf33f8646855e65b8e7232c7fd5739e1ae1eb58b
efi_loader: EFI_PXE_BASE_CODE_PROTOCOL stub

U-Boot implements the EFI_PXE_BASE_CODE_PROTOCOL because GRUB uses the mode
information for booting via PXE. All function pointers in the protocol were
NULL up to now which will cause immediate crashes when the services of the
protocol are called.

Create function stubs for all services of the protocol returning
EFI_UNSUPPORTED.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_api.h
lib/efi_loader/efi_net.c