[ipxe-devel] [PATCH] [efi] install the HII config access protocol on a child of the SNP handle

Laszlo Ersek lersek at redhat.com
Tue Jul 5 10:14:10 UTC 2016


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



More information about the ipxe-devel mailing list