/* This function returns if all capsule images are processed. */
BOOLEAN AreAllImagesProcessed(VOID)
/* This function returns if all capsule images are processed. */
BOOLEAN AreAllImagesProcessed(VOID)
{
  UINTN  Index;
  for (Index = 0; Index < mCapsuleTotalNumber; Index++) {
    if (mCapsuleStatusArray[Index] == EFI_NOT_READY) {
      return FALSE;
    }
  }
  return TRUE;
}