efi_loader: device_path: add support for HTTP device path
authorAdriano Cordova <adrianox@gmail.com>
Wed, 4 Dec 2024 03:05:22 +0000 (00:05 -0300)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 4 Dec 2024 11:24:37 +0000 (12:24 +0100)
commit4b0723004b65bfaab528ce3aa669eb552e06130a
tree7825984c356faf95a71f5c9199800f2df4754bd4
parentb20f497f22a76785f4c615af78a5b70f6ba49046
efi_loader: device_path: add support for HTTP device path

Add efi_dp_from_http to form a device path from HTTP. The
device path is the concatenation of the device path returned
by efi_dp_from_ipv4 together with an URI node and an END node.

Signed-off-by: Adriano Cordova <adrianox@gmail.com>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/efi_loader.h
lib/efi_loader/efi_device_path.c