52#define _COMPONENT ACPI_DISPATCHER
105 goto CreateNewObject;
110 Op->Common.Value.String,
118 Op->Common.Value.String,
Status);
137 WalkState, Op, Op->Common.AmlOpcode, &ObjDesc);
166 *ObjDescPtr = ObjDesc;
197 UINT32 ByteListLength = 0;
208 ObjDesc = *ObjDescPtr;
214 *ObjDescPtr = ObjDesc;
226 Arg = Op->
Common.Value.Arg;
228 ByteList = Arg->
Named.Next;
234 "Expecting bytelist, found AML opcode 0x%X in op %p",
235 ByteList->
Common.AmlOpcode, ByteList));
241 ByteListLength = (
UINT32) ByteList->
Common.Value.Integer;
252 ObjDesc->
Buffer.Length = ByteListLength;
257 if (ObjDesc->
Buffer.Length == 0)
261 "Buffer defined with zero length in AML, creating\n"));
267 if (!ObjDesc->
Buffer.Pointer)
324 if (!Op->
Common.Value.Arg)
334 WalkState, Op->
Common.Value.Arg, &ObjDesc);
387 ObjDesc = *RetObjDesc;
398 switch (ObjDesc->
Common.Type)
432 switch (OpInfo->
Type)
474 "Unknown constant opcode 0x%X",
Opcode));
489 "Truncated 64-bit constant found in 32-bit table: %8.8X%8.8X => %8.8X",
521 switch (OpInfo->
Type)
551 switch (Op->
Common.AmlOpcode)
573 "Unimplemented reference type for AML opcode: 0x%4.4X",
Opcode));
ACPI_SIZE strlen(const char *String)
#define AE_AML_OPERAND_TYPE
#define ACPI_FORMAT_UINT64(i)
#define ACPI_ERROR_NAMESPACE(s, p, e)
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
ACPI_STATUS AcpiNsAttachObject(ACPI_NAMESPACE_NODE *Node, ACPI_OPERAND_OBJECT *Object, ACPI_OBJECT_TYPE Type)
#define ACPI_NS_SEARCH_PARENT
#define AOPOBJ_DATA_VALID
#define AOPOBJ_STATIC_POINTER
#define AOPOBJ_AML_CONSTANT
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_MODULE_NAME(Name)
#define ACPI_WARNING(plist)
#define ACPI_FUNCTION_TRACE_PTR(a, b)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_ERROR(plist)
const ACPI_OPCODE_INFO * AcpiPsGetOpcodeInfo(UINT16 Opcode)
#define ACPI_TYPE_LOCAL_REFERENCE
#define ACPI_CAST_INDIRECT_PTR(t, p)
#define ACPI_TYPE_INTEGER
#define ACPI_CAST_PTR(t, p)
#define ACPI_ALLOCATE_ZEROED(a)
#define ACPI_TYPE_PACKAGE
#define AcpiUtCreateInternalObject(t)
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
void AcpiUtDeleteObjectDesc(ACPI_OPERAND_OBJECT *Object)
#define AML_VARIABLE_PACKAGE_OP
#define AML_INT_BYTELIST_OP
#define AML_FIRST_LOCAL_OP
#define AML_TYPE_METHOD_ARGUMENT
#define AML_TYPE_LOCAL_VARIABLE
#define AML_INT_NAMEPATH_OP
#define AML_TYPE_CONSTANT
#define AML_CLASS_UNKNOWN
ACPI_STATUS AcpiDsMethodDataGetNode(UINT8 Type, UINT32 Index, ACPI_WALK_STATE *WalkState, ACPI_NAMESPACE_NODE **Node)
ACPI_STATUS AcpiDsCreateNode(ACPI_WALK_STATE *WalkState, ACPI_NAMESPACE_NODE *Node, ACPI_PARSE_OBJECT *Op)
ACPI_STATUS AcpiDsInitObjectFromOp(ACPI_WALK_STATE *WalkState, ACPI_PARSE_OBJECT *Op, UINT16 Opcode, ACPI_OPERAND_OBJECT **RetObjDesc)
ACPI_STATUS AcpiDsBuildInternalObject(ACPI_WALK_STATE *WalkState, ACPI_PARSE_OBJECT *Op, ACPI_OPERAND_OBJECT **ObjDescPtr)
ACPI_STATUS AcpiDsBuildInternalBufferObj(ACPI_WALK_STATE *WalkState, ACPI_PARSE_OBJECT *Op, UINT32 BufferLength, ACPI_OPERAND_OBJECT **ObjDescPtr)
BOOLEAN AcpiExTruncateFor32bitTable(ACPI_OPERAND_OBJECT *ObjDesc)
_In_ PVOID _In_ ULONG Opcode
#define memcpy(s1, s2, n)
ACPI_OBJECT_COMMON_HEADER UINT32 AmlLength
ACPI_NAMESPACE_NODE * Node
ACPI_OBJECT_COMMON_HEADER ACPI_NAMESPACE_NODE * Node
ACPI_NAMESPACE_NODE * Node
ACPI_OBJECT_COMMON_HEADER UINT8 Class
union acpi_operand_object * Operands[ACPI_OBJ_NUM_OPERANDS+1]
ACPI_OBJECT_INTEGER Integer
ACPI_OBJECT_REFERENCE Reference
ACPI_OBJECT_COMMON Common
ACPI_OBJECT_PACKAGE Package
ACPI_OBJECT_STRING String
ACPI_OBJECT_BUFFER Buffer
ACPI_PARSE_OBJ_NAMED Named
ACPI_PARSE_OBJ_COMMON Common
_Must_inspect_result_ _In_ WDFDEVICE _In_ DEVICE_REGISTRY_PROPERTY _In_ ULONG BufferLength