efi_loader: Separate device path into its own header
authorSimon Glass <sjg@chromium.org>
Sat, 24 May 2025 17:28:21 +0000 (11:28 -0600)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 25 May 2025 09:27:18 +0000 (11:27 +0200)
commitf4bbd7b9faa4c20e5b838d7ea609ebadc7305ba0
treeb2c61dfa46033f15a7090804001dc9b4b684f916
parentdf2ed552f0b05591090369a7fe7ddc92439dea5c
efi_loader: Separate device path into its own header

These functions are useful for the EFI app. As a first step towards
making these available outside lib/efi_loader, create a separate header
file and include it where needed. Add proper comments to the functions,
since many are missing at present.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
19 files changed:
cmd/bootefi.c
cmd/eficonfig.c
cmd/efidebug.c
include/efi_device_path.h [new file with mode: 0644]
include/efi_loader.h
lib/efi_driver/efi_uclass.c
lib/efi_loader/efi_bootbin.c
lib/efi_loader/efi_bootmgr.c
lib/efi_loader/efi_boottime.c
lib/efi_loader/efi_capsule.c
lib/efi_loader/efi_console.c
lib/efi_loader/efi_device_path.c
lib/efi_loader/efi_device_path_utilities.c
lib/efi_loader/efi_disk.c
lib/efi_loader/efi_fdt.c
lib/efi_loader/efi_helper.c
lib/efi_loader/efi_net.c
lib/efi_loader/efi_tcg2.c
test/lib/efi_device_path.c