]> git.proxmox.com Git - mirror_edk2.git/commit
DynamicTablesPkg: AML tree/node cloning
authorPierre Gondois <pierre.gondois@arm.com>
Mon, 3 Aug 2020 18:40:54 +0000 (19:40 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 13 Aug 2020 18:00:06 +0000 (18:00 +0000)
commit0414377c021e624dba9d01314464620db3ec3744
treebc2146f5b806d2eaf031e8d26f3c8163eedee3ba
parente2c1104c504024b6bbee7c34a87cc9add59f37d5
DynamicTablesPkg: AML tree/node cloning

It is often desirable to clone an AML branch/tree
or an AML node. An example of could be to clone
an AML template before fixup so that the original
AML template remains unmodified. Another example
would be replicating a device branch in the AML
tree and fixing up the device information.

To facilitate such scenarios the AmlLib library
provides functions that can be used to clone an
AML branch/tree or an AML node.

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
DynamicTablesPkg/Library/Common/AmlLib/Tree/AmlClone.c [new file with mode: 0644]