/* Return TRUE if the firmware volume has been processed, FALSE if not. */
BOOLEAN FvHasBeenProcessed(IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader)
/* Return TRUE if the firmware volume has been processed, FALSE if not. */
BOOLEAN FvHasBeenProcessed(IN EFI_FIRMWARE_VOLUME_HEADER *FwVolHeader)
{
  LIST_ENTRY   *Link;
  KNOWN_FWVOL  *KnownFwVol;
  for (Link = mFwVolList.ForwardLink;
       Link != &mFwVolList;
       Link = Link->ForwardLink)
  {
    KnownFwVol = CR (Link, KNOWN_FWVOL, Link, KNOWN_FWVOL_SIGNATURE);
    if (KnownFwVol->FwVolHeader == FwVolHeader) {
      return TRUE;
    }
  }
  return FALSE;
}