summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Common/BuildToolError.py
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2020-08-03 16:30:06 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-08-13 18:00:06 +0000
commitf96dd8185d6ba79de57fc6c4f9ccc4d7482b1200 (patch)
tree16c72fc17938867baacfed77e8b564ab330a816b /BaseTools/Source/Python/Common/BuildToolError.py
parent5764abda7c64bf0fe0061638e80cd195ebe45279 (diff)
downloadedk2-f96dd8185d6ba79de57fc6c4f9ccc4d7482b1200.tar.gz
edk2-f96dd8185d6ba79de57fc6c4f9ccc4d7482b1200.tar.bz2
edk2-f96dd8185d6ba79de57fc6c4f9ccc4d7482b1200.zip
DynamicTablesPkg: AML tree traversal
The AML tree traversal provides interfaces to traverse the nodes in the AML tree. It provides interfaces to traverse the AML tree in the following order: - Traverse sibling nodes. (Node) /-i # Child of fixed argument b \ / |- [a][b][c][d] # Fixed Arguments |- {(e)->(f)->(g)} # Variable Arguments \ \-h # Child of variable argument e Traversal Order: - AmlGetNextSibling() : a, b, c, d, e, f, g, NULL - AmlGetPreviousSibling(): g, f, e, d, c, b, a, NULL - Iterate depth-first path (follow AML byte stream). (Node) /-i # Child of fixed argument b \ / |- [a][b][c][d] # Fixed Arguments |- {(e)->(f)->(g)} # Variable Arguments \ \-h # Child of variable argument e Traversal Order: - AmlGetNextNode(): a, b, i, c, d, e, h, f, g, NULL - AmlGetPreviousNode() g, f, h, e, d, c, i, b, a, NULL Note: The branch i and h will be traversed if it has any children. 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/BuildToolError.py')
0 files changed, 0 insertions, 0 deletions