/* This function validates interrupt acknowledge address space for type 4 structure. */
STATIC VOID EFIAPI ValidatePccIntAckGas(IN UINT8 *Ptr, IN VOID *Context)
/* This function validates interrupt acknowledge address space for type 4 structure. */
STATIC VOID EFIAPI ValidatePccIntAckGas(IN UINT8 *Ptr, IN VOID *Context)
{
  if (((*PccGlobalFlags & EFI_ACPI_6_4_PCCT_FLAGS_PLATFORM_INTERRUPT) !=
       EFI_ACPI_6_4_PCCT_FLAGS_PLATFORM_INTERRUPT) ||
      ((*ExtendedPccSubspaceInterruptFlags &
        EFI_ACPI_6_4_PCCT_SUBSPACE_PLATFORM_INTERRUPT_FLAGS_MODE) ==
       EFI_ACPI_6_4_PCCT_SUBSPACE_PLATFORM_INTERRUPT_FLAGS_MODE))
  {
    if (IsZeroBuffer (
          Ptr,
          sizeof (EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE)
          ))
    {
      return;
    }
  }
  ValidatePccGas (Ptr, Context);
}