efi_loader: add device-path utils
authorRob Clark <robdclark@gmail.com>
Wed, 13 Sep 2017 22:05:28 +0000 (18:05 -0400)
committerAlexander Graf <agraf@suse.de>
Wed, 20 Sep 2017 08:31:55 +0000 (10:31 +0200)
commitb66c60dde9d48889b93694326d40f7e5208cff25
treef4827a4d1f3413867fe6a9da19603b464953142c
parentc80214ce1f39a9b9da32dbe941ff83051b03c080
efi_loader: add device-path utils

Helpers to construct device-paths from devices, partitions, files, and
for parsing and manipulating device-paths.

For non-legacy devices, this will use u-boot's device-model to construct
device-paths which include bus hierarchy to construct device-paths.  For
legacy devices we still fake it, but slightly more convincingly.

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_api.h
include/efi_loader.h
lib/efi_loader/Makefile
lib/efi_loader/efi_boottime.c
lib/efi_loader/efi_device_path.c [new file with mode: 0644]