/* This function validates platform interrupt flags for type 4 structure. */
STATIC VOID EFIAPI ValidatePlatInterrupt(IN UINT8 *Ptr, IN VOID *Context)
/* This function validates platform interrupt flags for type 4 structure. */
STATIC VOID EFIAPI ValidatePlatInterrupt(IN UINT8 *Ptr, IN VOID *Context)
{
  if ((*PccSubspaceType == EFI_ACPI_6_4_PCCT_SUBSPACE_TYPE_4_EXTENDED_PCC) &&
      ((*PccGlobalFlags & EFI_ACPI_6_4_PCCT_FLAGS_PLATFORM_INTERRUPT) !=
       EFI_ACPI_6_4_PCCT_FLAGS_PLATFORM_INTERRUPT))
  {
    IncrementErrorCount ();
    Print (
      L"\nError: Global Platform interrupt flag must be set to 1" \
      L" if a PCC type 4 structure is present in PCCT."
      );
  }
}