diff options
author | Sami Mujawar <sami.mujawar@arm.com> | 2023-09-22 15:35:12 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-10-30 12:16:56 +0000 |
commit | f81ee47513e55e4748eccb2f941a5bb0cbf45612 (patch) | |
tree | b3553a9f4d65056baeb0a526d8e296a06f8414a1 | |
parent | 4821daa5246deff8d8f9fb35d9c171050e704951 (diff) | |
download | edk2-f81ee47513e55e4748eccb2f941a5bb0cbf45612.tar.gz edk2-f81ee47513e55e4748eccb2f941a5bb0cbf45612.tar.bz2 edk2-f81ee47513e55e4748eccb2f941a5bb0cbf45612.zip |
DynamicTablesPkg: Add an ET info object parser
An Embedded Trace (ET) info object is used to provide
information about an Embedded Trace Extension (ETE) or
an Embedded Trace Module (ETM) available on a platform.
The CM_ARM_ET_INFO object has already been added to the
Arm namespace objects list by a previous patch.
Therefore, update the CM Object parser to add support
for parsing the CM_ARM_ET_INFO object.
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Pierre Gondois <pierre.gondois@arm.com>
-rw-r--r-- | DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c b/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c index a7a1d1298f..127675d4ce 100644 --- a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c +++ b/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c @@ -662,6 +662,12 @@ STATIC CONST CM_OBJ_PARSER CmArmPccSubspaceType5InfoParser[] = { ARRAY_SIZE (CmArmMailboxRegisterInfoParser) },
};
+/** A parser for EArmObjEtInfo.
+*/
+STATIC CONST CM_OBJ_PARSER CmArmEtInfo[] = {
+ { "EtType", sizeof (ARM_ET_TYPE), "0x%x", NULL }
+};
+
/** A parser for Arm namespace objects.
*/
STATIC CONST CM_OBJ_PARSER_ARRAY ArmNamespaceObjectParser[] = {
@@ -758,6 +764,8 @@ STATIC CONST CM_OBJ_PARSER_ARRAY ArmNamespaceObjectParser[] = { ARRAY_SIZE (CmArmPccSubspaceType34InfoParser) },
{ "EArmObjPccSubspaceType5Info", CmArmPccSubspaceType5InfoParser,
ARRAY_SIZE (CmArmPccSubspaceType5InfoParser) },
+ { "EArmObjEtInfo", CmArmEtInfo,
+ ARRAY_SIZE (CmArmEtInfo) },
{ "EArmObjMax", NULL, 0 },
};
|