88 return ObjectNode->FixedArgs[Index];
120 if ((IndexPtr ==
NULL) ||
176 ((NewNode ==
NULL) ||
180 ObjectNode->FixedArgs[Index] = NewNode;
183 if (NewNode !=
NULL) {
191 return EFI_INVALID_PARAMETER;
245 return EFI_INVALID_PARAMETER;
253 return EFI_INVALID_PARAMETER;
263 return EFI_INVALID_PARAMETER;
273 if (EFI_ERROR (Status)) {
337 return EFI_INVALID_PARAMETER;
342 if (ChildrenList ==
NULL) {
344 return EFI_INVALID_PARAMETER;
348 NewNode->Parent = ParentNode;
352 if (EFI_ERROR (Status)) {
395 return EFI_INVALID_PARAMETER;
400 if (ChildrenList ==
NULL) {
402 return EFI_INVALID_PARAMETER;
406 NewNode->Parent = ParentNode;
433 if (EFI_ERROR (Status)) {
440 if (EFI_ERROR (Status)) {
479 return EFI_INVALID_PARAMETER;
487 return EFI_INVALID_PARAMETER;
492 NewNode->Parent = ParentNode;
496 if (EFI_ERROR (Status)) {
535 return EFI_INVALID_PARAMETER;
543 return EFI_INVALID_PARAMETER;
548 NewNode->Parent = ParentNode;
552 if (EFI_ERROR (Status)) {
591 return EFI_INVALID_PARAMETER;
601 if (EFI_ERROR (Status)) {
613 if ((LastRdNode ==
NULL) ||
618 return EFI_INVALID_PARAMETER;
668 return EFI_INVALID_PARAMETER;
672 FixedArgType = ParentNode->AmlByteEncoding->Format[Index];
673 switch (FixedArgType) {
684 return EFI_INVALID_PARAMETER;
705 return EFI_INVALID_PARAMETER;
721 return EFI_INVALID_PARAMETER;
730 return EFI_INVALID_PARAMETER;
739 if (EFI_ERROR (Status)) {
746 if (EFI_ERROR (Status)) {
753 if (EFI_ERROR (Status)) {
762 (NewSize > OldSize) ? (NewSize - OldSize) : (OldSize - NewSize),
811 return EFI_INVALID_PARAMETER;
819 return EFI_INVALID_PARAMETER;
838 return EFI_INVALID_PARAMETER;
853 return EFI_INVALID_PARAMETER;
861 return EFI_INVALID_PARAMETER;
868 OldNode->Parent =
NULL;
872 NewNode->Parent = ParentNode;
876 if (EFI_ERROR (Status)) {
883 if (EFI_ERROR (Status)) {
892 (NewSize > OldSize) ? (NewSize - OldSize) : (OldSize - NewSize),
932 return EFI_INVALID_PARAMETER;
941 return EFI_INVALID_PARAMETER;
951 if (EFI_ERROR (Status)) {
1000 return EFI_INVALID_PARAMETER;
1018 return EFI_INVALID_PARAMETER;
1024 if (EFI_ERROR (Status)) {
1030 if (EFI_ERROR (Status)) {
1040 if (StartLink !=
NULL) {
1041 NextLink = StartLink->ForwardLink;
1042 while (NextLink != StartLink) {
1043 CurrentLink = NextLink;
1051 if (EFI_ERROR (Status)) {
#define AML_IS_FIELD_ELEMENT
enum EAmlParseFormat AML_PARSE_FORMAT
#define AML_HAS_BYTE_LIST
#define AML_HAS_FIELD_LIST
@ EAmlUInt64
Eight byte value evaluated as a UINT64.
@ EAmlUInt8
One byte value evaluated as a UINT8.
@ EAmlString
NULL terminated string.
@ EAmlNone
No data expected.
@ EAmlUInt16
Two byte value evaluated as a UINT16.
@ EAmlUInt32
Four byte value evaluated as a UINT32.
BOOLEAN EFIAPI AmlNodeCompareOpCode(IN CONST AML_OBJECT_NODE *ObjectNode, IN UINT8 OpCode, IN UINT8 SubOpCode)
EFI_STATUS EFIAPI AmlDeleteNode(IN AML_NODE_HEADER *Node)
BOOLEAN EFIAPI AmlNodeHasAttribute(IN CONST AML_OBJECT_NODE *ObjectNode, IN AML_OP_ATTRIBUTE Attribute)
#define IS_AML_ROOT_NODE(Node)
#define IS_AML_OBJECT_NODE(Node)
#define IS_AML_DATA_NODE(Node)
#define IS_AML_NODE_VALID(Node)
#define AML_NODE_IS_DETACHED(Node)
EFI_STATUS EFIAPI AmlVarListAddBefore(IN AML_NODE_HEADER *Node, IN AML_NODE_HEADER *NewNode)
EFI_STATUS EFIAPI AmlReplaceArgument(IN AML_NODE_HEADER *OldNode, IN AML_NODE_HEADER *NewNode)
EFI_STATUS EFIAPI AmlVarListAddAfter(IN AML_NODE_HEADER *Node, IN AML_NODE_HEADER *NewNode)
EFI_STATUS EFIAPI AmlAppendRdNode(IN AML_OBJECT_NODE *BufferOpNode, IN AML_DATA_NODE *NewRdNode)
EFI_STATUS EFIAPI AmlVarListAddHead(IN AML_NODE_HEADER *ParentNode, IN AML_NODE_HEADER *NewNode)
EFI_STATUS EFIAPI AmlSetFixedArgument(IN AML_OBJECT_NODE *ObjectNode, IN EAML_PARSE_INDEX Index, IN AML_NODE_HEADER *NewNode)
EFI_STATUS EFIAPI AmlDeleteTree(IN AML_NODE_HEADER *Node)
AML_NODE_HEADER *EFIAPI AmlGetFixedArgument(IN AML_OBJECT_NODE *ObjectNode, IN EAML_PARSE_INDEX Index)
LIST_ENTRY *EFIAPI AmlNodeGetVariableArgList(IN CONST AML_NODE_HEADER *Node)
EFI_STATUS EFIAPI AmlDetachNode(IN AML_NODE_HEADER *Node)
EFI_STATUS EFIAPI AmlVarListAddTailInternal(IN AML_NODE_HEADER *ParentNode, IN AML_NODE_HEADER *NewNode)
AML_NODE_HEADER *EFIAPI AmlGetParent(IN AML_NODE_HEADER *Node)
EFI_STATUS EFIAPI AmlRemoveNodeFromVarArgList(IN AML_NODE_HEADER *Node)
EFI_STATUS EFIAPI AmlVarListAddTail(IN AML_NODE_HEADER *ParentNode, IN AML_NODE_HEADER *NewNode)
EFI_STATUS EFIAPI AmlReplaceVariableArgument(IN AML_NODE_HEADER *OldNode, IN AML_NODE_HEADER *NewNode)
STATIC EFI_STATUS EFIAPI AmlReplaceFixedArgument(IN AML_OBJECT_NODE *ParentNode, IN EAML_PARSE_INDEX Index, IN AML_NODE_HEADER *NewNode)
BOOLEAN EFIAPI AmlIsNodeFixedArgument(IN CONST AML_NODE_HEADER *Node, OUT EAML_PARSE_INDEX *IndexPtr)
AML_ROOT_NODE *EFIAPI AmlGetRootNode(IN CONST AML_NODE_HEADER *Node)
EFI_STATUS EFIAPI AmlSetRdListCheckSum(IN AML_OBJECT_NODE *BufferOpNode, IN UINT8 CheckSum)
EFI_STATUS EFIAPI AmlPropagateInformation(IN AML_NODE_HEADER *Node, IN BOOLEAN IsIncrement, IN UINT32 Diff, IN UINT8 NodeCount)
EFI_STATUS EFIAPI AmlComputeSize(IN CONST AML_NODE_HEADER *Node, IN OUT UINT32 *Size)
LIST_ENTRY *EFIAPI InsertHeadList(IN OUT LIST_ENTRY *ListHead, IN OUT LIST_ENTRY *Entry)
LIST_ENTRY *EFIAPI RemoveEntryList(IN CONST LIST_ENTRY *Entry)
LIST_ENTRY *EFIAPI InitializeListHead(IN OUT LIST_ENTRY *ListHead)
BOOLEAN EFIAPI IsNodeInList(IN CONST LIST_ENTRY *FirstEntry, IN CONST LIST_ENTRY *SecondEntry)
LIST_ENTRY *EFIAPI InsertTailList(IN OUT LIST_ENTRY *ListHead, IN OUT LIST_ENTRY *Entry)
EAML_NODE_DATA_TYPE EFIAPI AmlTypeToNodeDataType(IN AML_PARSE_FORMAT AmlType)
#define ASSERT_EFI_ERROR(StatusParameter)
AML_NODE_HANDLE EFIAPI AmlGetPreviousVariableArgument(IN AML_NODE_HANDLE Node, IN AML_NODE_HANDLE CurrVarArg)
UINT8 AmlGetFixedArgumentCount(IN AML_OBJECT_NODE_HANDLE Node)
enum EAmlParseIndex EAML_PARSE_INDEX
@ EAmlParseIndexTerm0
First fixed argument index.
@ EAmlNodeDataTypeRaw
Raw bytes contained in a buffer.
@ EAmlNodeDataTypeResourceData
Resource data element.
EAML_NODE_DATA_TYPE DataType