summaryrefslogtreecommitdiff
path: root/DynamicTablesPkg/Library/FdtHwInfoParserLib/CmObjectDescUtility.c
AgeCommit message (Collapse)AuthorFilesLines
26 hoursDynamicTablesPkg/HwInfoParser: Add modulo check to AddMultipleCmObj()Pierre Gondois1-1/+2
Following the addition of AddMultipleCmObjWithToken(), add a check regarding the (Size % Count) to AddMultipleCmObj(). Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
26 hoursDynamicTablesPkg/HwInfoParser: Add AddMultipleCmObjWithToken()Pierre Gondois1-1/+80
Add a AddMultipleCmObjWithToken() function, allowing to add multiple CmObj with their associated Token. This function will be used in a later patch to add GicC CmObj with specific Token. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
2025-10-13DynamicTablesPkg: Add helper to add array as a CmObjSarah Walker1-0/+52
Implement a helper to add an array as a CmObj. Signed-off-by: Sarah Walker <Sarah.Walker2@arm.com>
2025-10-13DynamicTablesPkg: Add helper to add CmObj with given tokenSarah Walker1-0/+55
Implement function to add a CmObj with a token provided by the caller. This is intended to be used with abstract tokens, the value of which is generated by the caller. Signed-off-by: Sarah Walker <Sarah.Walker2@arm.com>
2024-07-29DynamicTablesPkg: Move Cm Reference object to Arch CommonSami Mujawar1-5/+5
Move Cm Reference object from Arm Namespace to the Arch Common namespace. Correspondingly also update the following modules to reflect the changes introduced by the move: - PPTT generator - SSDT CPU topology generator - SSDT PCIe generator - ConfigurationManagerObjectParser - Dynamic Plat Repo, the Token Mapper and the TokenFixer map. - FdtHwInfoParser library Cc: Pierre Gondois <Pierre.Gondois@arm.com> Cc: Yeo Reum Yun <YeoReum.Yun@arm.com> Cc: AbdulLateef Attar <AbdulLateef.Attar@amd.com> Cc: Jeshua Smith <jeshuas@nvidia.com> Cc: Jeff Brasen <jbrasen@nvidia.com> Cc: Girish Mahadevan <gmahadevan@nvidia.com> Cc: Leif Lindholm <quic_llindhol@quicinc.com> Cc: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Signed-off-by: Sami Mujawar <sami.mujawar@arm.com> Signed-off-by: Pierre Gondois <pierre.gondois@arm.com> Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
2021-12-14DynamicTablesPkg: FdtHwInfoParser: CM Object descriptor helperPierre Gondois1-0/+306
FdtHwInfoParserLib is an instance of the HwInfoParser. The FdtHwInfoParser parses a platform Device Tree and populates the Platform Information repository with Configuration Manager objects that describe the platform hardware. These Configuration Manager objects are encapsulated in Configuration Manager Object Descriptors. Therefore, add helper functions to create and free the Configuration Manager Object descriptors. Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>