efi_loader: implement ConvertDeviceNodeToText
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Fri, 21 Jul 2017 17:12:08 +0000 (19:12 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 24 Jul 2017 12:47:04 +0000 (14:47 +0200)
commit09c5ab909c8abfe6a0ee654149345254c0dda13d
tree01b6b332ef75021eb8071ccfaa08b64b3391c5db
parentc6e3c3e68a240e7d503b7e4fee9ea6002e33f6a0
efi_loader: implement ConvertDeviceNodeToText

Move the logic for converting a node to text from
efi_convert_device_path_to_text to convert_device_node_to_text.

Provide a wrapper function convert_device_node_to_text_ext.

As we use only shallow device paths so we can call
directly call efi_device_node_to_text from efi_device_path_to_text.

Add output for MAC addresses.

Add output for not yet supported types/subtypes.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_device_path_to_text.c