TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | AmlNodeHeader |
struct | AmlRootNode |
struct | AmlObjectNode |
struct | AmlDataNode |
Macros | |
#define | IS_AML_NODE_VALID(Node) |
#define | IS_AML_ROOT_NODE(Node) |
#define | IS_AML_OBJECT_NODE(Node) |
#define | IS_AML_DATA_NODE(Node) |
#define | AML_NODE_HAS_PARENT(Node) |
#define | AML_NODE_IS_DETACHED(Node) |
Typedefs | |
typedef struct AmlNodeHeader | AML_NODE_HEADER |
typedef AML_NODE_HEADER * | AML_NODE_HANDLE |
typedef struct AmlRootNode | AML_ROOT_NODE |
typedef AML_ROOT_NODE * | AML_ROOT_NODE_HANDLE |
typedef struct AmlObjectNode | AML_OBJECT_NODE |
typedef AML_OBJECT_NODE * | AML_OBJECT_NODE_HANDLE |
typedef struct AmlDataNode | AML_DATA_NODE |
typedef AML_DATA_NODE * | AML_DATA_NODE_HANDLE |
AML Node Definition.
Copyright (c) 2020, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file AmlNodeDefines.h.
#define AML_NODE_HAS_PARENT | ( | Node | ) |
Check whether a Node has a parent.
[in] | Node | The node to check. |
TRUE | The Node is a data node. |
FALSE | Otherwise. |
Definition at line 166 of file AmlNodeDefines.h.
#define AML_NODE_IS_DETACHED | ( | Node | ) |
Check that the Node is not attached somewhere. This doesn't mean the node cannot have children.
[in] | Node | The node to check. |
TRUE | The Node has been detached. |
FALSE | Otherwise. |
Definition at line 178 of file AmlNodeDefines.h.
#define IS_AML_DATA_NODE | ( | Node | ) |
Check whether a Node is a data node.
[in] | Node | The node to check. |
TRUE | The Node is a data node. |
FALSE | Otherwise. |
Definition at line 155 of file AmlNodeDefines.h.
#define IS_AML_NODE_VALID | ( | Node | ) |
Check whether a Node has a valid NodeType.
[in] | Node | The node to check. |
TRUE | The Node has a valid NodeType. |
FALSE | Otherwise. |
Definition at line 121 of file AmlNodeDefines.h.
#define IS_AML_OBJECT_NODE | ( | Node | ) |
Check whether a Node is an object node.
[in] | Node | The node to check. |
TRUE | The Node is an object node. |
FALSE | Otherwise. |
Definition at line 144 of file AmlNodeDefines.h.
#define IS_AML_ROOT_NODE | ( | Node | ) |
Check whether a Node is a root node.
[in] | Node | The node to check. |
TRUE | The Node is a root node. |
FALSE | Otherwise. |
Definition at line 133 of file AmlNodeDefines.h.
typedef struct AmlDataNode AML_DATA_NODE |
AML data node.
Data nodes store the smallest pieces of information. E.g.: UINT8, UINT64, NULL terminated string, etc. Data node don't have children nodes.
typedef AML_DATA_NODE* AML_DATA_NODE_HANDLE |
Data Node handle.
Definition at line 112 of file AmlNodeDefines.h.
typedef AML_NODE_HEADER* AML_NODE_HANDLE |
Node handle.
Definition at line 33 of file AmlNodeDefines.h.
typedef struct AmlNodeHeader AML_NODE_HEADER |
AML header node.
This abstract class represents either a root/object/data node. All the enumerated nodes have this same common header.
typedef struct AmlObjectNode AML_OBJECT_NODE |
AML object node.
Object nodes match AML statements. They are associated with an OpCode/SubOpCode, and can have children.
typedef AML_OBJECT_NODE* AML_OBJECT_NODE_HANDLE |
Object Node handle.
Definition at line 87 of file AmlNodeDefines.h.
typedef struct AmlRootNode AML_ROOT_NODE |
AML root node.
The root node is unique and at the head of tree. It is a fake node used to maintain the list of AML statements (stored as object nodes) which are at the first scope level.
typedef AML_ROOT_NODE* AML_ROOT_NODE_HANDLE |
Root Node handle.
Definition at line 55 of file AmlNodeDefines.h.