summaryrefslogtreecommitdiff
path: root/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c
diff options
context:
space:
mode:
authorSarah Walker <Sarah.Walker2@arm.com>2026-06-29 14:09:45 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-09-15 13:12:13 +0300
commitda4cfa1fcbff447e0100526a076fd09711fa65da (patch)
treefbace9128378e9e866121f47f515f41e16e2f862 /DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c
parent2983022d529db53aa6114dd4376161e077c0ed7c (diff)
downloadedk2-da4cfa1fcbff447e0100526a076fd09711fa65da.tar.xz
DynamicTablesPkg: generate MADT table for GICv5
Generate GICv5 related information in MADT table. Signed-off-by: Sarah Walker <Sarah.Walker2@arm.com>
Diffstat (limited to 'DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c')
-rw-r--r--DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c b/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c
index 736159a4d6..0577acab7a 100644
--- a/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c
+++ b/DynamicTablesPkg/Library/Common/TableHelperLib/ConfigurationManagerObjectParser.c
@@ -511,6 +511,34 @@ STATIC CONST CM_OBJ_PARSER CmArmCmnInfoParser[] = {
{ "RootNodeBaseAddressLength", 8, "0x%llx", NULL },
};
+/** A parser for EArmObjGicIrsInfo.
+*/
+STATIC CONST CM_OBJ_PARSER CmArmGicIrsInfoParser[] = {
+ { "Token", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL },
+ { "GicVersion", sizeof (UINT32), "0x%x", NULL },
+ { "GicIrsId", sizeof (UINT32), "0x%x", NULL },
+ { "Flags", sizeof (UINT32), "0x%x", NULL },
+ { "ConfigFrameBase", sizeof (UINT64), "0x%llx", NULL },
+ { "SetLpiFrameBase", sizeof (UINT64), "0x%llx", NULL },
+};
+
+/** A parser for EArmObjGicItsV5Info.
+*/
+STATIC CONST CM_OBJ_PARSER CmArmGicItsV5InfoParser[] = {
+ { "Token", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL },
+ { "GicItsId", sizeof (UINT32), "0x%x", NULL },
+ { "Flags", sizeof (UINT32), "0x%x", NULL },
+ { "PhysicalBaseAddress", sizeof (UINT64), "0x%llx", NULL },
+};
+
+/** A parser for EArmObjGicItsV5TranslateFrameInfo.
+*/
+STATIC CONST CM_OBJ_PARSER CmArmGicItsV5TranslateFrameInfoParser[] = {
+ { "ItsV5Token", sizeof (CM_OBJECT_TOKEN), "0x%p", NULL },
+ { "ItsTranslateId", sizeof (UINT32), "0x%x", NULL },
+ { "ItsTranslateFrameBase", sizeof (UINT64), "0x%llx", NULL },
+};
+
/** A parser for the EFI_ACPI_6_3_GENERIC_ADDRESS_STRUCTURE structure.
*/
STATIC CONST CM_OBJ_PARSER AcpiGenericAddressParser[] = {
@@ -1733,6 +1761,9 @@ STATIC CONST CM_OBJ_PARSER_ARRAY ArmNamespaceObjectParser[] = {
CM_PARSER_ADD_OBJECT (EArmObjProcessorSpecificBlockInfo, CmArmProcessorSpecificBlockInfoParser),
CM_PARSER_ADD_OBJECT (EArmObjProcessorSpecificSubDataArchInfo,CmArmProcessorSpecificSubDataArchInfoParser),
CM_PARSER_ADD_OBJECT (EArmObjCoresightPmuInfo, CmArmCoresightPmuInfoParser),
+ CM_PARSER_ADD_OBJECT (EArmObjGicIrsInfo, CmArmGicIrsInfoParser),
+ CM_PARSER_ADD_OBJECT (EArmObjGicItsV5Info, CmArmGicItsV5InfoParser),
+ CM_PARSER_ADD_OBJECT (EArmObjGicItsV5TranslateFrameInfo, CmArmGicItsV5TranslateFrameInfoParser),
CM_PARSER_ADD_OBJECT_RESERVED (EArmObjMax)
};