TianoCore EDK2 master
|
Functions | |
AML_NODE_HANDLE EFIAPI | AmlGetParent (IN AML_NODE_HANDLE Node) |
AML_NODE_HANDLE EFIAPI | AmlGetFixedArgument (IN AML_OBJECT_NODE_HANDLE ObjectNode, IN EAML_PARSE_INDEX Index) |
AML_NODE_HANDLE EFIAPI | AmlGetSiblingVariableArgument (IN AML_NODE_HANDLE VarArgNode) |
AML_NODE_HANDLE EFIAPI | AmlGetNextVariableArgument (IN AML_NODE_HANDLE Node, IN AML_NODE_HANDLE CurrVarArg) |
AML_NODE_HANDLE EFIAPI | AmlGetPreviousVariableArgument (IN AML_NODE_HANDLE Node, IN AML_NODE_HANDLE CurrVarArg) |
AML_NODE_HEADER *EFIAPI | AmlGetSiblingVariableArgument (IN AML_NODE_HEADER *VarArgNode) |
Core Navigation APIs allow to get a node by specifying a relation.
E.g.: Get the parent, the n-th fixed argument, the next variable argument, etc.
AML_NODE_HANDLE EFIAPI AmlGetFixedArgument | ( | IN AML_OBJECT_NODE_HANDLE | ObjectNode, |
IN EAML_PARSE_INDEX | Index | ||
) |
Get the node at the input Index in the fixed argument list of the input ObjectNode.
[in] | ObjectNode | Pointer to an object node. |
[in] | Index | The Index of the fixed argument to get. |
AML_NODE_HANDLE EFIAPI AmlGetNextVariableArgument | ( | IN AML_NODE_HANDLE | Node, |
IN AML_NODE_HANDLE | CurrVarArg | ||
) |
Get the next variable argument.
(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: e, f, g, NULL
[in] | Node | Pointer to a Root node or Object Node. |
[in] | CurrVarArg | Pointer to the Current Variable Argument. |
AML_NODE_HANDLE EFIAPI AmlGetParent | ( | IN AML_NODE_HANDLE | Node | ) |
Get the parent node of the input Node.
[in] | Node | Pointer to a node. |
AML_NODE_HANDLE EFIAPI AmlGetPreviousVariableArgument | ( | IN AML_NODE_HANDLE | Node, |
IN AML_NODE_HANDLE | CurrVarArg | ||
) |
Get the previous variable argument.
(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: g, f, e, NULL
[in] | Node | Pointer to a root node or an object node. |
[in] | CurrVarArg | Pointer to the Current Variable Argument. |
AML_NODE_HANDLE EFIAPI AmlGetSiblingVariableArgument | ( | IN AML_NODE_HANDLE | VarArgNode | ) |
Get the sibling node among the nodes being in the same variable argument list.
(ParentNode) /-i # Child of fixed argument b \ / |- [a][b][c][d] # Fixed Arguments |- {(VarArgNode)->(f)->(g)} # Variable Arguments \ -h # Child of variable argument e
Node must be in a variable list of arguments. Traversal Order: VarArgNode, f, g, NULL
[in] | VarArgNode | Pointer to a node. Must be in a variable list of arguments. |
AML_NODE_HEADER *EFIAPI AmlGetSiblingVariableArgument | ( | IN AML_NODE_HEADER * | VarArgNode | ) |
Get the sibling node among the nodes being in the same variable argument list.
(ParentNode) /-i # Child of fixed argument b \ / |- [a][b][c][d] # Fixed Arguments |- {(VarArgNode)->(f)->(g)} # Variable Arguments \ -h # Child of variable argument e
Node must be in a variable list of arguments. Traversal Order: VarArgNode, f, g, NULL
[in] | VarArgNode | Pointer to a node. Must be in a variable list of arguments. |
Definition at line 39 of file AmlTreeTraversal.c.