On Thu, May 14, 2015 at 1:57 PM, Kinney, Michael D michael.d.kinney@intel.com wrote:
Roy,
- New GUID should be defined in MdeModulePkg/MdeModulePkg.dec
- New include file for new GUID in MdeModulePkg/Include/Guid
- Update TerminalDxe to use this new GUID.
I do not recommend creating a new terminal driver. Please continue as you have which is adding support for this one new terminal type to MdeModulePkg/Universal/Console/TerminalDxe.
Best regards,
Mike
OK, I have made the above changes, and have it working with one hack I'm not sure how to properly resolve.
I now have gEfiTtyTermGuid declared (extern) in MdeModulePkg/Include/Guid/TtyTerm.h, and defined in MdeModulePkg/Universal/Console/TerminalDxe/Tty.c.
I use gEfiTtyTermGuid in DevicePathFromText.c in MdePkg to convert between a text path to a device path, but I don't see how to include TtyTerm.h in DevicePathFromText.c. Right now I just have added the extern to DevicePathFromText.c to verify functionality. This works, but is obviously not the right solution. How should I go about properly getting gEfiTtyTermGuid declared in DevicePathFromText.c?
Thanks, Roy