diff options
author | Sami Mujawar <sami.mujawar@arm.com> | 2023-10-31 14:50:43 +0000 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-11-01 15:17:37 +0000 |
commit | fbbbd984998d83cf6b69e9291336aefbac23396c (patch) | |
tree | 55cd7ffff1a9aa3f3fac2bea726de0e093a5bd5f /DynamicTablesPkg | |
parent | 1b1509abee839b74d3232bbd6a256a1bdc230925 (diff) | |
download | edk2-fbbbd984998d83cf6b69e9291336aefbac23396c.tar.gz edk2-fbbbd984998d83cf6b69e9291336aefbac23396c.tar.bz2 edk2-fbbbd984998d83cf6b69e9291336aefbac23396c.zip |
DynamicTablesPkg: Fix assert in CmObject parser
The patch "f81ee47513e5 DynamicTablesPkg: Add an ET info
object parser" updates the Configuration Manager object
parser to add support for parsing CM_ARM_ET_INFO object.
However, the GicC info structure also has an ET Reference
token that points to the CM_ARM_ET_INFO object. Therefore,
update the GICC info object parser to add an entry to parse
the ET reference token. Without this change an assert
stating that the RemainingSize != 0 will be triggered.
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: levi.yun <yeoreum.yun@arm.com>
Diffstat (limited to 'DynamicTablesPkg')
-rw-r--r-- | DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c b/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c index 127675d4ce..ce494816ed 100644 --- a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c +++ b/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c @@ -84,7 +84,8 @@ STATIC CONST CM_OBJ_PARSER CmArmGicCInfoParser[] = { { "ClockDomain", 4, "0x%x", NULL },
{ "AffinityFlags", 4, "0x%x", NULL },
{ "CpcToken", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL },
- { "TRBEInterrupt", 2, "0x%x", NULL }
+ { "TRBEInterrupt", 2, "0x%x", NULL },
+ { "EtToken", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL }
};
/** A parser for EArmObjGicDInfo.
|