summaryrefslogtreecommitdiffstats
path: root/DynamicTablesPkg/Include
diff options
context:
space:
mode:
authorSami Mujawar <sami.mujawar@arm.com>2021-09-30 08:48:17 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-10-01 10:57:43 +0000
commit96e006b37ee8d3b3fe9f2a59e183bfd59e35a551 (patch)
tree757577ba57fcbd91ed1ad6318305d1c19d7e5cdd /DynamicTablesPkg/Include
parent72ab55255478a8c87f670e12d9e4475279759137 (diff)
downloadedk2-96e006b37ee8d3b3fe9f2a59e183bfd59e35a551.tar.gz
edk2-96e006b37ee8d3b3fe9f2a59e183bfd59e35a551.tar.bz2
edk2-96e006b37ee8d3b3fe9f2a59e183bfd59e35a551.zip
DynamicTablesPkg: Add Configuration Manager Object parser
The Platform information repository in the Configuration Manager may be dynamically populated, for e.g. by a Hardware Information Parser like FdtHwInfoParser. In such cases it is useful to trace the CM objects that were populated by the parser. Therefore, introduce helper functions that can parse and trace the Configuration Manager Objects. Reviewed-by: Joey Gouly <joey.gouly@arm.com> Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Diffstat (limited to 'DynamicTablesPkg/Include')
-rw-r--r--DynamicTablesPkg/Include/Library/TableHelperLib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/DynamicTablesPkg/Include/Library/TableHelperLib.h b/DynamicTablesPkg/Include/Library/TableHelperLib.h
index 57af511345..6d362ff99a 100644
--- a/DynamicTablesPkg/Include/Library/TableHelperLib.h
+++ b/DynamicTablesPkg/Include/Library/TableHelperLib.h
@@ -107,4 +107,14 @@ FindDuplicateValue (
IN PFN_IS_EQUAL EqualTestFunction
);
+/** Parse and print a CmObjDesc.
+
+ @param [in] CmObjDesc The CmObjDesc to parse and print.
+**/
+VOID
+EFIAPI
+ParseCmObjDesc (
+ IN CONST CM_OBJ_DESCRIPTOR * CmObjDesc
+ );
+
#endif // TABLE_HELPER_LIB_H_