65 if ((FieldByteEncoding ==
NULL) ||
73 (NameSpaceRefList ==
NULL))
76 return EFI_INVALID_PARAMETER;
80 if (CurrPos ==
NULL) {
82 return EFI_INVALID_PARAMETER;
86 AMLDBG_DUMP_RAW (CurrPos, 1);
88 if (EFI_ERROR (Status)) {
94 if (CurrPos ==
NULL) {
96 return EFI_INVALID_PARAMETER;
105 if (PkgLenOffset == 0) {
107 return EFI_INVALID_PARAMETER;
111 AMLDBG_DUMP_RAW (CurrPos, PkgLenOffset);
113 if (EFI_ERROR (Status)) {
127 if (EFI_ERROR (Status)) {
137 if (EFI_ERROR (Status)) {
153 if (EFI_ERROR (Status)) {
198 if ((NamedFieldByteEncoding ==
NULL) ||
204 (NameSpaceRefList ==
NULL))
207 return EFI_INVALID_PARAMETER;
216 if (EFI_ERROR (Status)) {
226 if (EFI_ERROR (Status)) {
240 if (EFI_ERROR (Status)) {
328 (NameSpaceRefList ==
NULL))
331 return EFI_INVALID_PARAMETER;
341 if (FieldByteEncoding !=
NULL) {
348 if (EFI_ERROR (Status)) {
357 if ((NamedFieldByteEncoding !=
NULL) &&
362 NamedFieldByteEncoding,
367 if (EFI_ERROR (Status)) {
374 return EFI_INVALID_PARAMETER;
#define AML_IS_FIELD_ELEMENT
#define AML_HAS_PKG_LENGTH
#define AML_HAS_FIELD_LIST
#define AML_IS_PSEUDO_OPCODE
STATIC EFI_STATUS EFIAPI AmlParseNamedFieldElement(IN CONST AML_BYTE_ENCODING *NamedFieldByteEncoding, IN OUT AML_OBJECT_NODE *FieldNode, IN OUT AML_STREAM *FStream, IN OUT LIST_ENTRY *NameSpaceRefList)
STATIC EFI_STATUS EFIAPI AmlParseFieldElement(IN CONST AML_BYTE_ENCODING *FieldByteEncoding, IN OUT AML_OBJECT_NODE *FieldNode, IN OUT AML_STREAM *FStream, IN OUT LIST_ENTRY *NameSpaceRefList)
EFI_STATUS EFIAPI AmlParseFieldList(IN AML_OBJECT_NODE *FieldNode, IN AML_STREAM *FStream, IN LIST_ENTRY *NameSpaceRefList)
EFI_STATUS EFIAPI AmlAddNameSpaceReference(IN CONST AML_OBJECT_NODE *Node, IN OUT LIST_ENTRY *NameSpaceRefList)
EFI_STATUS EFIAPI AmlCreateObjectNode(IN CONST AML_BYTE_ENCODING *AmlByteEncoding, IN UINT32 PkgLength, OUT AML_OBJECT_NODE **NewObjectNodePtr)
BOOLEAN EFIAPI AmlNodeHasAttribute(IN CONST AML_OBJECT_NODE *ObjectNode, IN AML_OP_ATTRIBUTE Attribute)
EFI_STATUS EFIAPI AmlParseFixedArguments(IN AML_OBJECT_NODE *ObjectNode, IN AML_STREAM *FStream, IN LIST_ENTRY *NameSpaceRefList)
EFI_STATUS EFIAPI AmlStreamProgress(IN AML_STREAM *Stream, IN UINT32 Offset)
UINT8 *EFIAPI AmlStreamGetCurrPos(IN CONST AML_STREAM *Stream)
#define IS_STREAM_FORWARD(Stream)
#define IS_STREAM(Stream)
#define IS_END_OF_STREAM(Stream)
EFI_STATUS EFIAPI AmlVarListAddTailInternal(IN AML_NODE_HEADER *ParentNode, IN AML_NODE_HEADER *NewNode)
UINT32 EFIAPI AmlGetPkgLength(IN CONST UINT8 *Buffer, OUT UINT32 *PkgLength)
CONST AML_BYTE_ENCODING *EFIAPI AmlGetFieldEncodingByOpCode(IN UINT8 OpCode, IN UINT8 SubOpCode)
CONST AML_BYTE_ENCODING *EFIAPI AmlGetByteEncoding(IN CONST UINT8 *Buffer)
CONST AML_BYTE_ENCODING *EFIAPI AmlGetFieldEncoding(IN CONST UINT8 *Buffer)
#define ASSERT_EFI_ERROR(StatusParameter)
#define AML_FIELD_NAMED_OP
EFI_STATUS EFIAPI AmlDeleteTree(IN AML_NODE_HANDLE Node)