52#define _COMPONENT ACPI_PARSER
87 UINT8 ByteZeroMask = 0x3F;
98 ParserState->Aml += ((ACPI_SIZE)
ByteCount + 1);
119 PackageLength |= (
Aml[0] & ByteZeroMask);
227 ParserState->
Aml = End;
299 PossibleMethodCall &&
320 "Control Method invocation %4.4s - %p Desc %p Path=%p\n",
342 "Control Method %p has no attached object",
348 "Control Method - %p Args %X\n",
383 else if ((Arg->
Common.Parent) &&
537 UINT8 AccessAttribute;
608#ifdef ACPI_ASL_COMPILER
614 if (Field->
Common.InlineComment)
616 Field->
Common.NameComment = Field->
Common.InlineComment;
618 Field->
Common.InlineComment = AcpiGbl_CurrentInlineComment;
619 AcpiGbl_CurrentInlineComment =
NULL;
653 Field->
Common.Value.Integer |= (
UINT16) (AccessAttribute << 8);
662 Field->
Common.Value.Integer |= (
UINT32) (AccessLength << 16);
679 PkgEnd = ParserState->
Aml;
684 if (ParserState->
Aml < PkgEnd)
706 ParserState->
Aml += 1;
712 ParserState->
Aml += 2;
718 ParserState->
Aml += 4;
736 ParserState->
Aml = PkgEnd;
802 "Expected argument type ARGP: %s (%2.2X)\n",
834 if (ParserState->
Aml < ParserState->
PkgEnd)
838 while (ParserState->
Aml < ParserState->
PkgEnd)
848 Prev->
Common.Next = Field;
865 if (ParserState->
Aml < ParserState->
PkgEnd)
892 "**** SimpleName/NameOrRef: %s (%2.2X)\n",
924 "**** Target/Supername: %s (%2.2X)\n",
966 "**** TermArg/DataObj: %s (%2.2X)\n",
978 if (ParserState->
Aml < ParserState->
PkgEnd)
unsigned long long UINT64
PRTL_UNICODE_STRING_BUFFER Path
#define AE_AML_OPERAND_TYPE
#define ACPI_MOVE_16_TO_64(d, s)
#define ASL_CV_CAPTURE_COMMENTS_ONLY(a)
#define ACPI_IS_PARENT_PREFIX(c)
#define GET_CURRENT_ARG_TYPE(List)
#define ACPI_MOVE_64_TO_64(d, s)
#define ACPI_IS_ROOT_PREFIX(c)
#define ACPI_MOVE_32_TO_64(d, s)
#define ACPI_ERROR_NAMESPACE(s, p, e)
#define ACPI_MOVE_32_TO_32(d, s)
ACPI_STATUS AcpiNsLookup(ACPI_GENERIC_STATE *ScopeInfo, char *Name, ACPI_OBJECT_TYPE Type, ACPI_INTERPRETER_MODE InterpreterMode, UINT32 Flags, ACPI_WALK_STATE *WalkState, ACPI_NAMESPACE_NODE **RetNode)
ACPI_OPERAND_OBJECT * AcpiNsGetAttachedObject(ACPI_NAMESPACE_NODE *Node)
#define ACPI_NS_DONT_OPEN_SCOPE
#define ACPI_NS_SEARCH_PARENT
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_MODULE_NAME(Name)
#define ACPI_FUNCTION_TRACE_U32(a, b)
#define ACPI_FUNCTION_TRACE_PTR(a, b)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_ERROR(plist)
#define ACPI_PARSE_EXECUTE
UINT16 AcpiPsPeekOpcode(ACPI_PARSE_STATE *state)
void AcpiPsInitOp(ACPI_PARSE_OBJECT *op, UINT16 opcode)
#define ACPI_PARSE_MODE_MASK
BOOLEAN AcpiPsIsLeadingChar(UINT32 c)
#define ACPI_POSSIBLE_METHOD_CALL
void AcpiPsSetName(ACPI_PARSE_OBJECT *op, UINT32 name)
void AcpiPsFreeOp(ACPI_PARSE_OBJECT *Op)
void AcpiPsAppendArg(ACPI_PARSE_OBJECT *op, ACPI_PARSE_OBJECT *arg)
#define ACPI_NOT_METHOD_CALL
ACPI_PARSE_OBJECT * AcpiPsAllocOp(UINT16 Opcode, UINT8 *Aml)
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char UINT32 ACPI_STATUS const char UINT32 const char const char UINT32 const char BOOLEAN UINT8 * Aml
#define ACPI_CAST_PTR(t, p)
#define ACPI_PTR_DIFF(a, b)
#define ACPI_NAMESEG_SIZE
const char * AcpiUtGetArgumentTypeName(UINT32 ArgType)
#define AML_INT_NAMEDFIELD_OP
#define AML_VARIABLE_PACKAGE_OP
#define AML_INT_BYTELIST_OP
#define AML_FIELD_EXT_ACCESS_OP
#define AML_FIELD_ACCESS_OP
#define AML_INT_METHODCALL_OP
#define AML_INT_RESERVEDFIELD_OP
#define AML_FIELD_CONNECTION_OP
#define AML_DUAL_NAME_PREFIX
#define AML_MULTI_NAME_PREFIX
#define AML_CONDITIONAL_REF_OF_OP
#define AML_FIELD_OFFSET_OP
#define AML_INT_EXTACCESSFIELD_OP
#define AML_INT_CONNECTION_OP
#define AML_INT_NAMEPATH_OP
#define AML_INT_ACCESSFIELD_OP
ACPI_STATUS AcpiDsMethodError(ACPI_STATUS Status, ACPI_WALK_STATE *WalkState)
_In_ PVOID _In_ ULONG Opcode
_In_ ULONG _In_ ULONG _In_ ULONG Length
void AcpiPsGetNextSimpleArg(ACPI_PARSE_STATE *ParserState, UINT32 ArgType, ACPI_PARSE_OBJECT *Arg)
static UINT32 AcpiPsGetNextPackageLength(ACPI_PARSE_STATE *ParserState)
ACPI_STATUS AcpiPsGetNextArg(ACPI_WALK_STATE *WalkState, ACPI_PARSE_STATE *ParserState, UINT32 ArgType, ACPI_PARSE_OBJECT **ReturnArg)
char * AcpiPsGetNextNamestring(ACPI_PARSE_STATE *ParserState)
ACPI_STATUS AcpiPsGetNextNamepath(ACPI_WALK_STATE *WalkState, ACPI_PARSE_STATE *ParserState, ACPI_PARSE_OBJECT *Arg, BOOLEAN PossibleMethodCall)
static ACPI_PARSE_OBJECT * AcpiPsGetNextField(ACPI_PARSE_STATE *ParserState)
UINT8 * AcpiPsGetNextPackageEnd(ACPI_PARSE_STATE *ParserState)
ACPI_GENERIC_STATE * ScopeInfo
ACPI_PARSE_STATE ParserState
ACPI_OBJECT_METHOD Method
ACPI_PARSE_OBJ_NAMED Named
ACPI_PARSE_OBJ_COMMON Common
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS _In_ LARGE_INTEGER ByteCount