/* This function validates the ID Mapping array count for the Performance Monitoring Counter Group (PMCG) node. */
STATIC VOID EFIAPI ValidatePmcgIdMappingCount(IN UINT8 *Ptr, IN VOID *Context)
/* This function validates the ID Mapping array count for the Performance Monitoring Counter Group (PMCG) node. */
STATIC VOID EFIAPI ValidatePmcgIdMappingCount(IN UINT8 *Ptr, IN VOID *Context)
{
  if (*(UINT32 *)Ptr > 1) {
    IncrementErrorCount ();
    Print (L"\nERROR: IORT ID Mapping count must not be greater than 1.");
  }
}