]> git.proxmox.com Git - mirror_edk2.git/commit
DynamicTablesPkg: Definition for DynamicPlatRepoLib interface
authorPierre Gondois <Pierre.Gondois@arm.com>
Thu, 9 Dec 2021 09:32:47 +0000 (10:32 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 14 Dec 2021 18:45:19 +0000 (18:45 +0000)
commitb2d0ed20fd50ebad2cafaf2c39c2c20c6083b690
tree8c31dec63ea322ef649e0cabae4aa6cecf2096a4
parent9006967c8d24f5d9585278fb6363b08f2118d424
DynamicTablesPkg: Definition for DynamicPlatRepoLib interface

The DynamicPlatRepoLib 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 defines the library interface of the DynamicPlatRepo.

Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
DynamicTablesPkg/DynamicTablesPkg.dec
DynamicTablesPkg/Include/Library/DynamicPlatRepoLib.h [new file with mode: 0644]