On 07/01/16 21:40, Michael Brown wrote: > 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. :)
Wait, are "beauty" and "taste" a requirement now? :) I do agree though that the protocol might not be present everywhere. I had searched the UEFI spec for mentions of this protocol -- when a protocol is mandatory, it is stated so in other parts of the spec (separately from the description of the protocol member functions). Thanks Laszlo _______________________________________________ ipxe-devel mailing list ipxe-devel@lists.ipxe.org https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel