ACPI_ARRAY_LENGTH
#define ACPI_PORT_INFO_ENTRIES ACPI_ARRAY_LENGTH (AcpiProtectedPorts)
i < (ACPI_ARRAY_LENGTH (AcpiDefaultSupportedInterfaces) - 1);