DynamicTablesPkg: Add code for finding duplicate values in arrays
authorKrzysztof Koch <krzysztof.koch@arm.com>
Tue, 9 Apr 2019 09:41:40 +0000 (10:41 +0100)
committerSami Mujawar <sami.mujawar@arm.com>
Mon, 10 Jun 2019 19:44:31 +0000 (20:44 +0100)
commitc1b53091f60fb301a71238e6ef38834d48757d96
tree836d52ece145da3ac79bfddce62063da307855c8
parent75bf10a68914a50b1d5c57f63a8561fa52dc0973
DynamicTablesPkg: Add code for finding duplicate values in arrays

Added generic function for detecting duplicate values in an array.

Also defined a function prototype to test if two objects are equal.
The prototype is used as an argument to the 'FindDuplicateValues'
function.

Signed-off-by: Krzysztof Koch <krzysztof.koch@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
DynamicTablesPkg/Include/Library/TableHelperLib.h
DynamicTablesPkg/Library/Common/TableHelperLib/TableHelper.c