DynamicTablesPkg: Fix wrong/missing fields in CmObjParser

Add missing fields to the following CmObjParser objects:
- EArmObjGicDInfo
- EArmObjCacheInfo
and fix wrong formatting of:
- EArmObjLpiInfo

Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
Pierre Gondois 2022-10-10 11:20:50 +02:00 committed by mergify[bot]
parent a64cc43552
commit 2ef32f914a
1 changed files with 13 additions and 11 deletions

View File

@ -303,7 +303,8 @@ STATIC CONST CM_OBJ_PARSER CmArmProcHierarchyInfoParser[] = {
{ "ParentToken", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL }, { "ParentToken", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL },
{ "GicCToken", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL }, { "GicCToken", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL },
{ "NoOfPrivateResources", 4, "0x%x", NULL }, { "NoOfPrivateResources", 4, "0x%x", NULL },
{ "PrivateResourcesArrayToken", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL } { "PrivateResourcesArrayToken", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL },
{ "LpiToken", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL },
}; };
/** A parser for EArmObjCacheInfo. /** A parser for EArmObjCacheInfo.
@ -315,7 +316,8 @@ STATIC CONST CM_OBJ_PARSER CmArmCacheInfoParser[] = {
{ "NumberOfSets", 4, "0x%x", NULL }, { "NumberOfSets", 4, "0x%x", NULL },
{ "Associativity", 4, "0x%x", NULL }, { "Associativity", 4, "0x%x", NULL },
{ "Attributes", 1, "0x%x", NULL }, { "Attributes", 1, "0x%x", NULL },
{ "LineSize", 2, "0x%x", NULL } { "LineSize", 2, "0x%x", NULL },
{ "CacheId", 4, "0x%x", NULL },
}; };
/** A parser for EArmObjProcNodeIdInfo. /** A parser for EArmObjProcNodeIdInfo.
@ -417,7 +419,7 @@ STATIC CONST CM_OBJ_PARSER CmArmLpiInfoParser[] = {
{ "UsageCounterRegister", sizeof (EFI_ACPI_6_3_GENERIC_ADDRESS_STRUCTURE), { "UsageCounterRegister", sizeof (EFI_ACPI_6_3_GENERIC_ADDRESS_STRUCTURE),
NULL, NULL, AcpiGenericAddressParser, NULL, NULL, AcpiGenericAddressParser,
ARRAY_SIZE (AcpiGenericAddressParser) }, ARRAY_SIZE (AcpiGenericAddressParser) },
{ "StateName", 16, "0x%a", NULL }, { "StateName", 16, NULL, PrintString },
}; };
/** A parser for EArmObjPciAddressMapInfo. /** A parser for EArmObjPciAddressMapInfo.