summaryrefslogtreecommitdiffstats
path: root/DynamicTablesPkg
diff options
context:
space:
mode:
Diffstat (limited to 'DynamicTablesPkg')
-rw-r--r--DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c b/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c
index 13e6c0e321..b46f19693b 100644
--- a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c
+++ b/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c
@@ -19,6 +19,14 @@ PrintOemId (
UINT8 *Ptr
);
+STATIC
+VOID
+EFIAPI
+PrintString (
+ CONST CHAR8 *Format,
+ UINT8 *Ptr
+ );
+
/** A parser for EArmObjBootArchInfo.
*/
STATIC CONST CM_OBJ_PARSER CmArmBootArchInfoParser[] = {
@@ -646,6 +654,24 @@ PrintOemId (
));
}
+/** Print string.
+
+ The string must be NULL terminated.
+
+ @param [in] Format Format to print the Ptr.
+ @param [in] Ptr Pointer to the string.
+**/
+STATIC
+VOID
+EFIAPI
+PrintString (
+ CONST CHAR8 *Format,
+ UINT8 *Ptr
+ )
+{
+ DEBUG ((DEBUG_ERROR, "%a", Ptr));
+}
+
/** Print fields of the objects.
@param [in] Data Pointer to the object to print.