/* Locate HII Database protocol and HII Font protocol. */
EFI_STATUS EfiLocateHiiProtocol(VOID)
/* Locate HII Database protocol and HII Font protocol. */
EFI_STATUS EfiLocateHiiProtocol(VOID)
{
  EFI_STATUS  Status;
  Status = gBS->LocateProtocol (&gEfiHiiDatabaseProtocolGuid, NULL, (VOID **)&mHiiDatabase);
  if (EFI_ERROR (Status)) {
    return Status;
  }
  Status = gBS->LocateProtocol (&gEfiHiiFontProtocolGuid, NULL, (VOID **)&mHiiFont);
  return Status;
}