/* This function return first node of LinkList queue. */
LIST_ENTRY* InternalInitLinkDxe(IN LIST_ENTRY *LinkList)
/* This function return first node of LinkList queue. */
LIST_ENTRY* InternalInitLinkDxe(IN LIST_ENTRY *LinkList)
{
  if ((sizeof (UINTN) == sizeof (UINT32)) && (FeaturePcdGet (PcdDxeIplSwitchToLongMode))) {
    return (LIST_ENTRY *)(((LIST_ENTRY64 *)LinkList)->ForwardLink);
  } else {
    return LinkList->ForwardLink;
  }
}