diff options
author | Pierre Gondois <pierre.gondois@arm.com> | 2020-08-05 14:18:20 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-08-13 18:00:06 +0000 |
commit | 3a681567780b5dcbc514b69a4fb8ccc98a5a2711 (patch) | |
tree | 16604e64dbda001a888302f06724e6e264dfde2d /BaseTools/Source/Python/Common | |
parent | e8db4f9c53b1f7a3094a64ea27e92224623a6a3b (diff) | |
download | edk2-3a681567780b5dcbc514b69a4fb8ccc98a5a2711.tar.gz edk2-3a681567780b5dcbc514b69a4fb8ccc98a5a2711.tar.bz2 edk2-3a681567780b5dcbc514b69a4fb8ccc98a5a2711.zip |
DynamicTablesPkg: AML Codegen
AML Codegen is a Dynamic AML technique that facilitates
generation of small segments of AML code. The AML code
generated using AML Codegen is represented as nodes in
the AML Tree.
Some examples where AML Codegen can be used are:
- AML Codegen APIs can be used to generate a simple
AML tree.
- An AML template can be parsed to create an AML
tree. This AML Tree can be searched to locate a
node that needs updating. The AML Codegen APIs
can be used to attach new AML nodes.
- A combination of AML Fixup and AML Codegen can
be used to generate an AML tree.
The AML tree can then be serialised as a Definition
Block table.
Following AML Codegen APIs are implemented:
- AmlCodeGenDefinitionBlock()
- AmlCodeGenScope()
- AmlCodeGenNameString()
- AmlCodeGenNameInteger()
- AmlCodeGenDevice()
These AML Codegen APIs in combination with AML Resource
Data Codegen APIs can be used to generate a simple AML
tree.
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>
Diffstat (limited to 'BaseTools/Source/Python/Common')
0 files changed, 0 insertions, 0 deletions