/* Converts a text device path node to 1394 device path structure. */
EFI_DEVICE_PATH_PROTOCOL* DevPathFromText1394(IN CHAR16 *TextDeviceNode)
/* Converts a text device path node to 1394 device path structure. */
EFI_DEVICE_PATH_PROTOCOL* DevPathFromText1394(IN CHAR16 *TextDeviceNode)
{
  CHAR16             *GuidStr;
  F1394_DEVICE_PATH  *F1394DevPath;
  GuidStr      = GetNextParamStr (&TextDeviceNode);
  F1394DevPath = (F1394_DEVICE_PATH *)CreateDeviceNode (
                                        MESSAGING_DEVICE_PATH,
                                        MSG_1394_DP,
                                        (UINT16)sizeof (F1394_DEVICE_PATH)
                                        );
  F1394DevPath->Reserved = 0;
  F1394DevPath->Guid     = StrHexToUint64 (GuidStr);
  return (EFI_DEVICE_PATH_PROTOCOL *)F1394DevPath;
}