This patch set introduces generic code for finding duplicate elements in an array and uses it to validate two ACPI tables: MADT and GTDT.
This change is motivated by the need for certain ACPI table field to have unique values across the entire table. Changes can be seen at: https://github.com/KrzysztofKoch1/edk2/tree/479_find_duplicate_ids_v1 Krzysztof Koch (3): DynamicTablesPkg: Add code for finding duplicate values in arrays DynamicTablesPkg: Test for duplicate UIDs in MADT generator DynamicTablesPkg: Test for duplicate GT Block frame numbers DynamicTablesPkg/Include/Library/TableHelperLib.h | 48 +++++++++++ DynamicTablesPkg/Library/Acpi/Arm/AcpiGtdtLibArm/GtdtGenerator.c | 66 +++++++++++++- DynamicTablesPkg/Library/Acpi/Arm/AcpiMadtLibArm/MadtGenerator.c | 90 ++++++++++++++++++-- DynamicTablesPkg/Library/Common/TableHelperLib/TableHelper.c | 64 ++++++++++++++ 4 files changed, 259 insertions(+), 9 deletions(-) -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)' -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#40778): https://edk2.groups.io/g/devel/message/40778 Mute This Topic: https://groups.io/mt/31639036/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-