[efi] Provide component name protocol and device path protocol interfaces
authorMichael Brown <mcb30@etherboot.org>
Sat, 10 Jan 2009 00:21:38 +0000 (00:21 +0000)
committerMichael Brown <mcb30@etherboot.org>
Mon, 12 Jan 2009 19:10:53 +0000 (19:10 +0000)
commitcced04ef3bba35dedb4e4c1da97643bc88260fc2
tree96da6b9d8bd4b13191e4c500c9f05f036217c695
parent8fd81349b37faaad533b3ad0cd4739f164f208b8
[efi] Provide component name protocol and device path protocol interfaces

Include a minimal component name protocol so that the driver name
shows up as something other than "<UNKNOWN>" in the driver list, and a
device path protocol so that the network interface shows up as a
separate device in the device list, rather than being attached
directly to the PCI device.

Incidentally, the EFI component name protocol reaches new depths for
signal-to-noise ratio in program code.  A typical instance within the
EFI development kit will use an additional 300 lines of code to
provide slightly less functionality than GNU gettext achieves with
three additional characters.
src/include/gpxe/efi/Protocol/ComponentName2.h [new file with mode: 0644]
src/interface/efi/efi_snp.c