]> git.proxmox.com Git - mirror_edk2.git/commit
DynamicTablesPkg: AML serialise interface
authorPierre Gondois <pierre.gondois@arm.com>
Tue, 4 Aug 2020 12:28:42 +0000 (13:28 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 13 Aug 2020 18:00:06 +0000 (18:00 +0000)
commit26f5961f3e53c6c8916a51f9b92a525d301b7dd7
tree5c94bb6f71573f97abd3af78a329e8ed89d41832
parent7f293b25d600b673b0bd59c24aec9a887d7a5f4a
DynamicTablesPkg: AML serialise interface

AML Fixup and AML Codegen facilitate dynamic generation
of Definition Block tables. The AML byte stream that is
generated is represented in an AML tree. Once the AML
table generation is completed, the AML tree needs to be
serialised for installing as an ACPI table.

The AML serialise interface implements the functionality
to iterate the nodes in the AML tree, collating the AML
bytecode, computing the checksum and writing the AML byte
stream to a buffer that represents the Definition Block
table.

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