On 06/06/15 01:57, Roy Franz wrote:
So, the link problem I am having is in the device path conversion code (DevicePathTo/FromText.c), so is there a way to avoid this by just not supporting nice text device paths? From my (again limited) understanding of device paths, I could do something like: VenHw(D3987D4B-971A-435F-8CAF-4967EB627241) instead of VenTtyTerm(), which would directly encode the GUID, and hence avoid the dependency problems I'm having. It will make for a more ugly .dsc file, but that's what comments are for :) Would this work?
Absolutely. It should not be VenHw(), but VenMsg() -- grep the MdePkg/Library/UefiDevicePathLib/ directory for "VenVt100", and check the contexts of the hits --, but that's it. Therefore, simply don't touch MdePkg/Library/UefiDevicePathLib/.
Thanks Laszlo