efi_loader: implement EFI_DEVICE_PATH_TO_TEXT_PROTOCOL
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Tue, 11 Jul 2017 20:06:25 +0000 (22:06 +0200)
committerAlexander Graf <agraf@suse.de>
Wed, 19 Jul 2017 12:14:40 +0000 (14:14 +0200)
commitcc5b70812f5e3b13ea9072c2dacc939818ef8e66
tree122757ca40162ca3b81b02ad56e2031a20ff30d7
parent88adae5ef057845f6bc69c63123df4332fe835b1
efi_loader: implement EFI_DEVICE_PATH_TO_TEXT_PROTOCOL

ConvertPathToText is implemented for
* type 4    - media device path
* subtype 4 - file path

This is the kind of device path we hand out for block devices.

All other cases may be implemented later.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
[agraf: fix whitespace]
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c
include/efi_api.h
include/efi_loader.h
lib/efi_loader/Makefile
lib/efi_loader/efi_device_path_to_text.c [new file with mode: 0644]