summaryrefslogtreecommitdiff
path: root/DynamicTablesPkg/Library/Common/DynamicPlatRepoLib/DynamicPlatRepo.c
AgeCommit message (Collapse)AuthorFilesLines
2025-12-02DynamicTablesPkg: Update DynamicPlatRepo for RISC-V namespaceSunil V L1-1/+88
Update DynamicPlatRepo to incorporate the newly introduced RISC-V namespace. This change ensures that platform repository data aligns with RISC-V specific object definitions and structures. Currently only ARM command objects are supported to fix up the self token. However, some of the RISC-V command objects also need token fixers. Add support for RISC-V token fixers. This update is necessary to support RISC-V ACPI table generation and platform configuration management. Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
2025-10-13DynamicTablesPkg: Add helper to add array as a CmObjSarah Walker1-1/+3
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-3/+7
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-14/+14
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>
2024-07-29DynamicTablesPkg: Update DynamicPlatRepo for Arch Common namespaceSami Mujawar1-63/+202
Update DynamicPlatRepo to reflect the introduction of the Arch Common namespace. Also, update the TokenFixer map to reflect the current state of the ArmNamespace Objects and add a note in the documentation header for the EARM_OBJECT_ID enum, that the Token fixer map needs updating whenever the ArmObjectId space is updated. 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>
2024-01-03DynamicTablesPkg: Fix X64 compilation errorsAbdul Lateef Attar1-3/+4
Add the support for X64 compilation to the CI. Fix the compilation errors. Cc: Pierre Gondois <pierre.gondois@arm.com> Cc: Sami Mujawar <sami.mujawar@arm.com> Signed-off-by: Abdul Lateef Attar <AbdulLateef.Attar@amd.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
2021-12-14DynamicTablesPkg: Add DynamicPlatRepo libraryPierre Gondois1-0/+521
The DynamicPlatRepo library allows to handle dynamically created CmObj. The dynamic platform repository can be in the following states: 1 - Non-initialised 2 - Transient: Possibility to add CmObj to the platform, but not to query them. 3 - Finalised: Possibility to query CmObj, but not to add new. A token is allocated to each CmObj added to the dynamic platform repository (except for reference tokens CmObj). This allows to retrieve dynamic CmObjs among all CmObj (static CmObj for instance). This patch add the inf file of the module and the main module functionnalities and update the dsc file of the package. Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com> Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>