/* Get the HDD Password configuration form entry by the index of the goto opcode activated. */
HDD_PASSWORD_CONFIG_FORM_ENTRY* HddPasswordGetConfigFormEntryByIndex(IN UINT32 Index)
/* Get the HDD Password configuration form entry by the index of the goto opcode activated. */
HDD_PASSWORD_CONFIG_FORM_ENTRY* HddPasswordGetConfigFormEntryByIndex(IN UINT32 Index)
{
  LIST_ENTRY                      *Entry;
  UINT32                          CurrentIndex;
  HDD_PASSWORD_CONFIG_FORM_ENTRY  *ConfigFormEntry;
  CurrentIndex    = 0;
  ConfigFormEntry = NULL;
  BASE_LIST_FOR_EACH (Entry, &mHddPasswordConfigFormList) {
    if (CurrentIndex == Index) {
      ConfigFormEntry = BASE_CR (Entry, HDD_PASSWORD_CONFIG_FORM_ENTRY, Link);
      break;
    }
    CurrentIndex++;
  }
  return ConfigFormEntry;
}