44 return EFI_INVALID_PARAMETER;
55 if (EFI_ERROR (Status)) {
66 if (EFI_ERROR (Status)) {
76 if (EFI_ERROR (Status)) {
81 return EFI_INVALID_PARAMETER;
120 (ClonedNode ==
NULL))
123 return EFI_INVALID_PARAMETER;
127 if (EFI_ERROR (Status)) {
138 if (FixedArgNode ==
NULL) {
139 Status = EFI_INVALID_PARAMETER;
149 if (EFI_ERROR (Status)) {
160 if (EFI_ERROR (Status)) {
169 if (StartLink !=
NULL) {
170 CurrentLink = StartLink->ForwardLink;
171 while (CurrentLink != StartLink) {
174 if (EFI_ERROR (Status)) {
184 if (EFI_ERROR (Status)) {
190 CurrentLink = CurrentLink->ForwardLink;
194 *ClonedNode = HeadNode;
200 if (HeadNode !=
NULL) {
EFI_STATUS EFIAPI AmlCloneNode(IN AML_NODE_HEADER *Node, OUT AML_NODE_HEADER **ClonedNode)
EFI_STATUS EFIAPI AmlCloneTree(IN AML_NODE_HEADER *Node, OUT AML_NODE_HEADER **ClonedNode)
EFI_STATUS EFIAPI AmlCreateObjectNode(IN CONST AML_BYTE_ENCODING *AmlByteEncoding, IN UINT32 PkgLength, OUT AML_OBJECT_NODE **NewObjectNodePtr)
EFI_STATUS EFIAPI AmlCreateRootNode(IN CONST EFI_ACPI_DESCRIPTION_HEADER *SdtHeader, OUT AML_ROOT_NODE **NewRootNodePtr)
EFI_STATUS EFIAPI AmlCreateDataNode(IN EAML_NODE_DATA_TYPE DataType, IN CONST UINT8 *Data, IN UINT32 DataSize, OUT AML_DATA_NODE **NewDataNodePtr)
#define IS_AML_ROOT_NODE(Node)
#define IS_AML_OBJECT_NODE(Node)
#define IS_AML_DATA_NODE(Node)
#define IS_AML_NODE_VALID(Node)
EFI_STATUS EFIAPI AmlSetFixedArgument(IN AML_OBJECT_NODE *ObjectNode, IN EAML_PARSE_INDEX Index, IN AML_NODE_HEADER *NewNode)
LIST_ENTRY *EFIAPI AmlNodeGetVariableArgList(IN CONST AML_NODE_HEADER *Node)
EFI_STATUS EFIAPI AmlVarListAddTailInternal(IN AML_NODE_HEADER *ParentNode, IN AML_NODE_HEADER *NewNode)
AML_NODE_HANDLE EFIAPI AmlGetFixedArgument(IN AML_OBJECT_NODE_HANDLE ObjectNode, IN EAML_PARSE_INDEX Index)
UINT8 AmlGetFixedArgumentCount(IN AML_OBJECT_NODE_HANDLE Node)
enum EAmlParseIndex EAML_PARSE_INDEX
@ EAmlParseIndexTerm0
First fixed argument index.
EFI_STATUS EFIAPI AmlDeleteTree(IN AML_NODE_HANDLE Node)
EAML_NODE_DATA_TYPE DataType
UINT8 * Buffer
Buffer containing the data stored by this node.
UINT32 Size
Size of the Buffer.
CONST AML_BYTE_ENCODING * AmlByteEncoding
EFI_ACPI_DESCRIPTION_HEADER * SdtHeader
ACPI DSDT/SSDT header.