]> git.sur5r.net Git - u-boot/commit
efi_loader: flesh out device-path to text
authorRob Clark <robdclark@gmail.com>
Wed, 13 Sep 2017 22:05:30 +0000 (18:05 -0400)
committerAlexander Graf <agraf@suse.de>
Wed, 20 Sep 2017 08:32:54 +0000 (10:32 +0200)
commitadae4313cdd891e5ab76c407134b69bd825220e4
tree55b58b55cf7d6117eceb04f10a448a28f468bd4d
parent9309a1b76ce4f18fe1d9fe48f2b1356ebc58b62f
efi_loader: flesh out device-path to text

It needs to handle more device-path node types, and also multiple levels
of path hierarchy.  To simplify this, initially construct utf8 string to
a temporary buffer, and then allocate the real utf16 buffer that is
returned.  This should be mostly for debugging or at least not critical-
path so an extra copy won't hurt, and is saner than the alternative.

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/efi_device_path_to_text.c