]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[efi] Make EFI_DEVICE_PATH_TO_TEXT_PROTOCOL optional
authorMichael Brown <mcb30@ipxe.org>
Mon, 19 May 2014 19:24:04 +0000 (20:24 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 19 May 2014 23:31:51 +0000 (00:31 +0100)
commit21c43e44cbee8e582abdc9cded06ab012873f176
tree82e7101589f7643a819bd78131c29f6805152d61
parent95cff6a4d87a83093d3c685d7743f3c13a44a177
[efi] Make EFI_DEVICE_PATH_TO_TEXT_PROTOCOL optional

Some UEFI systems (observed with a Mac Pro) do not provide
EFI_DEVICE_PATH_TO_TEXT_PROTOCOL.  Since we use this protocol only for
debug messages, make it optional and fall back to printing the raw
device path bytes.

Reported-by: Matt Woodward <pxematt@woodwardcc.com>
Tested-by: Matt Woodward <pxematt@woodwardcc.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/efi/efi_debug.c