/* Converts the unicode character of the string from uppercase to lowercase. This is a internal function. */
VOID EFIAPI HiiToLower(IN EFI_STRING ConfigString)
/* Converts the unicode character of the string from uppercase to lowercase. This is a internal function. */
VOID EFIAPI HiiToLower(IN EFI_STRING ConfigString)
{
  EFI_STRING  String;
  BOOLEAN     Lower;
  ASSERT (ConfigString != NULL);
  for (String = ConfigString, Lower = FALSE; *String != L'\0'; String++) {
    if (*String == L'=') {
      Lower = TRUE;
    } else if (*String == L'&') {
      Lower = FALSE;
    } else if (Lower && (*String >= L'A') && (*String <= L'F')) {
      *String = (CHAR16)(*String - L'A' + L'a');
    }
  }
  return;
}