/* Get UEFI image protection policy based upon image type. */
UINT32 GetProtectionPolicyFromImageType(IN UINT32 ImageType)
/* Get UEFI image protection policy based upon image type. */
UINT32 GetProtectionPolicyFromImageType(IN UINT32 ImageType)
{
  if ((ImageType & mImageProtectionPolicy) == 0) {
    return DO_NOT_PROTECT;
  } else {
    return PROTECT_IF_ALIGNED_ELSE_ALLOW;
  }
}