/* Determines if the feature bit mask is in dependent CPU feature bit mask buffer. */
BOOLEAN IsBitMaskMatchCheck(IN UINT8 *FeatureMask, IN UINT8 *DependentBitMask)
/* Determines if the feature bit mask is in dependent CPU feature bit mask buffer. */
BOOLEAN IsBitMaskMatchCheck(IN UINT8 *FeatureMask, IN UINT8 *DependentBitMask)
{
  UINTN              Index;
  UINT8              *Data1;
  UINT8              *Data2;
  CPU_FEATURES_DATA  *CpuFeaturesData;
  CpuFeaturesData = GetCpuFeaturesData ();
  Data1 = FeatureMask;
  Data2 = DependentBitMask;
  for (Index = 0; Index < CpuFeaturesData->BitMaskSize; Index++) {
    if (((*(Data1++)) & (*(Data2++))) != 0) {
      return TRUE;
    }
  }
  return FALSE;
}