On 01/07/16 13:24, Laszlo Ersek wrote:
I also tought of looking up EFI_DEVICE_PATH_UTILITIES_PROTOCOL, and
using its member functions for devpath manipulation more generally:
- GetDevicePathSize
- DuplicateDevicePath
- AppendDevicePath
- AppendDeviceNode
- CreateDeviceNode

Not guaranteed to be present on all platforms, as far as I know. We've certainly encountered platforms missing DevicePathToTextProtocol. Also, though I haven't looked at the device path utilities protocol yet, I'm prepared to bet that its API will be uglier than the one found in efi_utils.c. :)

Michael
_______________________________________________
ipxe-devel mailing list
ipxe-devel@lists.ipxe.org
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to