efi_loader: expose symbols to be used by the EFI network stack
authorAdriano Cordova <adrianox@gmail.com>
Mon, 3 Mar 2025 14:13:11 +0000 (11:13 -0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 10 Mar 2025 05:41:05 +0000 (06:41 +0100)
commit74829b4d93dcdaab5b87f8432b62bf198895c692
tree30b28f325a2b7a47c48d1b865a87025dac85b186
parent908033ea22605615c3a033408d5c3ceb6446b09a
efi_loader: expose symbols to be used by the EFI network stack

The following symbols are exposed:
- efi_reinstall_protocol_interface
This is done so that the device path protocol interface
of the network device can be changed internally by u-boot
when a new bootfile gets downloaded.
- eth_set_dev
To support multiple network udevices
- efi_close_event
This comes in preparation to support unregistering
an EFI network device from the EFI network stack when
the underlying U-boot device gets removed
- efi_[dis]connect_controller
The EFI network driver uses ConnectController to add a
NIC to the EFI network stack.
- efi_uninstall_protocol_interface
connect_controler for the efi network driver can install
protocols, which need to be uninstalled in disconnect_controller
- EFI_SIMPLE_NETWORK_PROTOCOL_GUID

Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
include/efi_loader.h
include/net-common.h
lib/efi_loader/efi_boottime.c
lib/efi_loader/efi_net.c
lib/efi_selftest/efi_selftest_snp.c