/* FmpDxe 1% - 5% for validation FmpDeviceLib 6% - 98% for flashing/update FmpDxe 99% - 100% finish */
EFI_STATUS EFIAPI FmpDxeProgress(IN UINTN Completion)
/* FmpDxe 1% - 5% for validation FmpDeviceLib 6% - 98% for flashing/update FmpDxe 99% - 100% finish */
EFI_STATUS EFIAPI FmpDxeProgress(IN UINTN Completion)
{
  EFI_STATUS  Status;
  Status = EFI_UNSUPPORTED;
  if (mProgressFunc == NULL) {
    return Status;
  }
  Status = mProgressFunc (((Completion * 92) / 100) + 6);
  if (Status == EFI_UNSUPPORTED) {
    mProgressFunc = NULL;
  }
  return Status;
}