efi_loader: efi_net: Add device path cache
authorAdriano Cordova <adrianox@gmail.com>
Mon, 3 Mar 2025 14:13:15 +0000 (11:13 -0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 10 Mar 2025 06:02:25 +0000 (07:02 +0100)
commitdd5d82a599953945e881fdd1f9dd8227c1232ae7
tree79b30055698d990e71123b301f371eb67668164a
parent267b0a7ddf89d414000d98345aa3222c7e01ff38
efi_loader: efi_net: Add device path cache

In preparation to support mutiple efi net udevices. Add a device path
cache to support device paths from multiple ethernet udevices.
The device paths can be added to the cache before EFI gets initialized and
the protocols get installed.

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