/* Converts a text device path node to EMMC (Embedded MMC) device path structure. */
EFI_DEVICE_PATH_PROTOCOL* DevPathFromTextEmmc(CHAR16 *TextDeviceNode)
/* Converts a text device path node to EMMC (Embedded MMC) device path structure. */
EFI_DEVICE_PATH_PROTOCOL* DevPathFromTextEmmc(CHAR16 *TextDeviceNode)
{
  CHAR16            *SlotNumberStr;
  EMMC_DEVICE_PATH  *Emmc;
  SlotNumberStr = GetNextParamStr (&TextDeviceNode);
  Emmc          = (EMMC_DEVICE_PATH *) CreateDeviceNode (
                                       MESSAGING_DEVICE_PATH,
                                       MSG_EMMC_DP,
                                       (UINT16) sizeof (EMMC_DEVICE_PATH)
                                       );
  Emmc->SlotNumber = (UINT8) Strtoi (SlotNumberStr);
  return (EFI_DEVICE_PATH_PROTOCOL *) Emmc;
}