efi_loader: efi_net: Add support for multiple efi_net_obj
authorAdriano Cordova <adrianox@gmail.com>
Mon, 3 Mar 2025 14:13:17 +0000 (11:13 -0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 10 Mar 2025 06:40:17 +0000 (07:40 +0100)
commit79aec250c2bdf6df5f2eff80b477a29750d63377
tree7c8888cbef2ef701fd10a821c257c7424ea94b80
parent8c4aefc48b415e6e452b27ceaf6635a3d6b9203a
efi_loader: efi_net: Add support for multiple efi_net_obj

Add support for multiple efi_net_obj structs in efi_net.c. This comes
in preparation for an EFI network driver supporting multiple network
interfaces. For now the EFI network stack still registers a single ethernet
udevice as an EFI network device even if multiple are present, namely
the one that was the current device at the moment of EFI initialization.

Signed-off-by: Adriano Cordova <adriano.cordova@canonical.com>
include/efi_loader.h
lib/efi_loader/efi_http.c
lib/efi_loader/efi_net.c