summaryrefslogtreecommitdiff
path: root/cmd/bootefi.c
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2017-07-11 22:06:25 +0200
committerAlexander Graf <agraf@suse.de>2017-07-19 14:14:40 +0200
commitcc5b70812f5e3b13ea9072c2dacc939818ef8e66 (patch)
tree122757ca40162ca3b81b02ad56e2031a20ff30d7 /cmd/bootefi.c
parent88adae5ef057845f6bc69c63123df4332fe835b1 (diff)
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>
Diffstat (limited to 'cmd/bootefi.c')
-rw-r--r--cmd/bootefi.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/bootefi.c b/cmd/bootefi.c
index 8453d90b2c..dcae253163 100644
--- a/cmd/bootefi.c
+++ b/cmd/bootefi.c
@@ -84,6 +84,10 @@ static struct efi_object loaded_image_info_obj = {
.guid = &efi_guid_console_control,
.protocol_interface = (void *) &efi_console_control
},
+ {
+ .guid = &efi_guid_device_path_to_text_protocol,
+ .protocol_interface = (void *) &efi_device_path_to_text
+ },
},
};