summaryrefslogtreecommitdiff
path: root/DynamicTablesPkg/Library/Common/CmObjHelperLib
AgeCommit message (Collapse)AuthorFilesLines
2025-06-11DynamicTablesPkg: Add GetProximityDomainId() to CmObjHelperLibPierre Gondois1-0/+129
Proximity domains Ids should now be described using the CM_ARCH_COMMON_PROXIMITY_DOMAIN_INFO object. This adds a level of indirection: a Token allows to retrieve a CM_ARCH_COMMON_PROXIMITY_DOMAIN_INFO object, and this object might either have a hard-coded Id, or rely on the MetadataObjLib to generate an Id. Add a GetProximityDomainId () function to the CmObjHelperLib to factorize this level of abstraction and allow other generators to re-use the logic. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
2025-06-11DynamicTablesPkg: Add CmObjHelperLibPierre Gondois2-0/+98
Some generators share some logic in how they handle CmObj. In an effort to factorize this code, create a CmObjHelperLib, aiming to host the common CmObj manipulation logic. Start by adding a CheckAcpiTablePresent() function, allowing to check if an ACPI table is in the list of the tables to install. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>