]> git.proxmox.com Git - mirror_edk2.git/commit
DynamicTablesPkg: AmlLib definitions
authorPierre Gondois <pierre.gondois@arm.com>
Wed, 29 Jul 2020 12:11:20 +0000 (13:11 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 13 Aug 2020 18:00:06 +0000 (18:00 +0000)
commit292e5408547767553e838b3e825a49c338224c16
treece84298d2a7e82286621accb299bad1be1417425
parent056b0f1b207dd1825f11cfe035bccd14b0281ffc
DynamicTablesPkg: AmlLib definitions

Dynamic AML is a solution to generate Definition Block tables
at runtime. Dynamic AML provides the following techniques for
generating AML tables.
  - AML Fixup
  - AML Codegen
  - AML Fixup + Codegen

AML fixup involves patching small sections of a template AML
code at runtime, while AML Codegen provides APIs to generate
small sections of AML code at runtime. A combination of
Fixup and Codegen can also be used.

AML has a complex grammar. To simplify the generation of
AML tables, Dynamic AML introduces AmlLib that provides a
rich set of APIs for parsing, traversing, fixup, codegen
and serialisation of AML byte code.

This patch introduces the definitions used by AmlLib.

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/AmlDefines.h [new file with mode: 0644]
DynamicTablesPkg/Library/Common/AmlLib/AmlInclude.h [new file with mode: 0644]