/* Utility function to check if generic address points to NULL */
STATIC BOOLEAN EFIAPI IsNullGenericAddress(IN EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE *Address)
/* Utility function to check if generic address points to NULL */
STATIC BOOLEAN EFIAPI IsNullGenericAddress(IN EFI_ACPI_6_4_GENERIC_ADDRESS_STRUCTURE *Address)
{
  if ((Address == NULL) ||
      ((Address->AddressSpaceId == EFI_ACPI_6_4_SYSTEM_MEMORY) &&
       (Address->Address == 0x0)))
  {
    return TRUE;
  }
  return FALSE;
}