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>
Showing
- include/efi_api.h 10 additions, 0 deletionsinclude/efi_api.h
- include/efi_loader.h 26 additions, 0 deletionsinclude/efi_loader.h
- lib/efi_loader/Makefile 1 addition, 1 deletionlib/efi_loader/Makefile
- lib/efi_loader/efi_boottime.c 11 additions, 2 deletionslib/efi_loader/efi_boottime.c
- lib/efi_loader/efi_device_path.c 563 additions, 0 deletionslib/efi_loader/efi_device_path.c
Loading
Please register or sign in to comment