]> git.baikalelectronics.ru Git - uboot.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)
commite637408776b05eb5fcd826326e8e8a3910e9a62c
tree391d4c837c79e4f7f105f08046301c43555f5cab
parent7e1f1e39f7c823e5be19c659f983794a7b9d53bc
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