53#define _COMPONENT ACPI_EXECUTER
105 switch (WalkState->Opcode)
134 WalkState->ResultObj =
NULL;
140 WalkState->ResultObj = ReturnDesc;
174 switch (WalkState->
Opcode)
246 switch (WalkState->
Opcode)
305 switch (WalkState->
Opcode)
324 switch (WalkState->
Opcode)
380 for (
i = 0; (
i < AcpiGbl_IntegerNybbleWidth) && (Digit > 0);
i++)
384 Temp32 = ((
UINT32) Digit) & 0xF;
391 "BCD digit too large (not decimal): 0x%X",
401 (((
UINT64) Temp32) * PowerOfTen);
432 for (
i = 0; (
i < AcpiGbl_IntegerNybbleWidth) && (Digit > 0);
i++)
449 "Integer too large to convert to BCD: 0x%8.8X%8.8X",
475 &ReturnDesc2, WalkState);
531 Operand[0], &ReturnDesc, WalkState);
538 if (ReturnDesc == Operand[0])
550 if (ReturnDesc == Operand[0])
561 if (ReturnDesc == Operand[0])
574 if (ReturnDesc == Operand[0])
588 "%s is obsolete and not implemented",
659 switch (WalkState->
Opcode)
674 if (!Operand[0]->Integer.Value)
697 TempDesc = Operand[0];
713 &TempDesc, WalkState);
717 "While resolving operands for [%s]",
782 WalkState, Operand[0], &
Type, &TempDesc);
801 Value = AcpiGbl_IntegerByteWidth;
828 "Operand must be Buffer/Integer/String/Package"
857 Operand[0], &ReturnDesc, WalkState);
877 Operand[0] = TempDesc;
888 switch ((Operand[0])->Common.Type)
896 switch (Operand[0]->Reference.Class)
904 Operand[0]->Reference.Class,
906 WalkState, &TempDesc);
917 Operand[0] = TempDesc;
926 Operand[0] = TempDesc;
960 Operand[0]->
String.Pointer,
995 ReturnDesc = Operand[0];
1013 switch (Operand[0]->Reference.Class)
1020 switch (Operand[0]->Reference.TargetType)
1052 ReturnDesc = *(Operand[0]->Reference.Where);
1069 "Unknown Index TargetType 0x%X in reference object %p",
1070 Operand[0]->Reference.TargetType, Operand[0]));
1095 switch (ReturnDesc->Common.
Type)
1103 WalkState, ReturnDesc, &TempDesc);
1109 ReturnDesc = TempDesc;
1125 "Unknown class in reference(%p) - 0x%2.2X",
1126 Operand[0], Operand[0]->Reference.Class));
unsigned long long UINT64
#define AE_AML_NUMERIC_OVERFLOW
#define AE_AML_UNINITIALIZED_ELEMENT
#define AE_AML_BAD_OPCODE
#define AE_AML_OPERAND_TYPE
#define ACPI_EXPLICIT_CONVERT_DECIMAL
ACPI_STATUS AcpiExOpcode_1A_1T_0R(ACPI_WALK_STATE *WalkState)
#define ACPI_EXPLICIT_CONVERT_HEX
#define ACPI_FORMAT_UINT64(i)
#define ACPI_GET_DESCRIPTOR_TYPE(d)
ACPI_OPERAND_OBJECT * AcpiNsGetAttachedObject(ACPI_NAMESPACE_NODE *Node)
ACPI_STATUS AcpiNsGetNodeUnlocked(ACPI_NAMESPACE_NODE *PrefixNode, const char *ExternalPathname, UINT32 Flags, ACPI_NAMESPACE_NODE **OutNode)
#define ACPI_NS_SEARCH_PARENT
#define ACPI_DESC_TYPE_OPERAND
#define ACPI_DESC_TYPE_NAMED
#define ACPI_EXCEPTION(plist)
#define ACPI_MODULE_NAME(Name)
#define ACPI_FUNCTION_TRACE_STR(a, b)
#define return_ACPI_STATUS(s)
#define ACPI_ERROR(plist)
const char * AcpiPsGetOpcodeName(UINT16 Opcode)
UINT64 AcpiOsGetTimer(void)
#define ACPI_TYPE_LOCAL_REFERENCE
#define ACPI_TYPE_BUFFER_FIELD
#define ACPI_CAST_INDIRECT_PTR(t, p)
#define ACPI_TYPE_LOCAL_BANK_FIELD
#define ACPI_TYPE_INTEGER
#define ACPI_TYPE_LOCAL_REGION_FIELD
#define ACPI_TYPE_PACKAGE
#define ACPI_TYPE_LOCAL_INDEX_FIELD
#define ACPI_INTEGER_BIT_SIZE
#define ACPI_TYPE_THERMAL
#define AcpiUtCreateInternalObject(t)
const char * AcpiUtGetTypeName(ACPI_OBJECT_TYPE Type)
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
ACPI_OPERAND_OBJECT * AcpiUtCreateIntegerObject(UINT64 Value)
void AcpiUtAddReference(ACPI_OPERAND_OBJECT *Object)
ACPI_STATUS AcpiUtCopyIobjectToIobject(ACPI_OPERAND_OBJECT *SourceDesc, ACPI_OPERAND_OBJECT **DestDesc, ACPI_WALK_STATE *WalkState)
ACPI_STATUS AcpiUtShortDivide(UINT64 InDividend, UINT32 Divisor, UINT64 *OutQuotient, UINT32 *OutRemainder)
#define AML_OBJECT_TYPE_OP
#define AML_TO_DECIMAL_STRING_OP
#define AML_TO_HEX_STRING_OP
#define AML_LOGICAL_NOT_OP
#define AML_FIND_SET_RIGHT_BIT_OP
#define AML_COPY_OBJECT_OP
#define AML_SHIFT_LEFT_BIT_OP
#define AML_CONDITIONAL_REF_OF_OP
#define AML_TO_INTEGER_OP
#define AML_FIND_SET_LEFT_BIT_OP
#define AML_SHIFT_RIGHT_BIT_OP
static const WCHAR Cleanup[]
ACPI_STATUS AcpiDsGetPackageArguments(ACPI_OPERAND_OBJECT *ObjDesc)
ACPI_STATUS AcpiDsGetBufferArguments(ACPI_OPERAND_OBJECT *ObjDesc)
ACPI_STATUS AcpiDsMethodDataGetValue(UINT8 Type, UINT32 Index, ACPI_WALK_STATE *WalkState, ACPI_OPERAND_OBJECT **DestDesc)
ACPI_STATUS AcpiExUnloadTable(ACPI_OPERAND_OBJECT *DdbHandle)
ACPI_STATUS AcpiExLoadOp(ACPI_OPERAND_OBJECT *ObjDesc, ACPI_OPERAND_OBJECT *Target, ACPI_WALK_STATE *WalkState)
ACPI_STATUS AcpiExConvertToBuffer(ACPI_OPERAND_OBJECT *ObjDesc, ACPI_OPERAND_OBJECT **ResultDesc)
ACPI_STATUS AcpiExConvertToInteger(ACPI_OPERAND_OBJECT *ObjDesc, ACPI_OPERAND_OBJECT **ResultDesc, UINT32 ImplicitConversion)
ACPI_STATUS AcpiExConvertToString(ACPI_OPERAND_OBJECT *ObjDesc, ACPI_OPERAND_OBJECT **ResultDesc, UINT32 Type)
ACPI_STATUS AcpiExReadDataFromField(ACPI_WALK_STATE *WalkState, ACPI_OPERAND_OBJECT *ObjDesc, ACPI_OPERAND_OBJECT **RetBufferDesc)
ACPI_STATUS AcpiExGetObjectReference(ACPI_OPERAND_OBJECT *ObjDesc, ACPI_OPERAND_OBJECT **ReturnDesc, ACPI_WALK_STATE *WalkState)
ACPI_STATUS AcpiExReleaseMutex(ACPI_OPERAND_OBJECT *ObjDesc, ACPI_WALK_STATE *WalkState)
ACPI_STATUS AcpiExOpcode_1A_1T_1R(ACPI_WALK_STATE *WalkState)
ACPI_STATUS AcpiExOpcode_1A_0T_0R(ACPI_WALK_STATE *WalkState)
ACPI_STATUS AcpiExOpcode_0A_0T_1R(ACPI_WALK_STATE *WalkState)
ACPI_STATUS AcpiExOpcode_1A_0T_1R(ACPI_WALK_STATE *WalkState)
ACPI_STATUS AcpiExResolveNodeToValue(ACPI_NAMESPACE_NODE **ObjectPtr, ACPI_WALK_STATE *WalkState)
ACPI_STATUS AcpiExResolveMultiple(ACPI_WALK_STATE *WalkState, ACPI_OPERAND_OBJECT *Operand, ACPI_OBJECT_TYPE *ReturnType, ACPI_OPERAND_OBJECT **ReturnDesc)
ACPI_STATUS AcpiExResolveOperands(UINT16 Opcode, ACPI_OPERAND_OBJECT **StackPtr, ACPI_WALK_STATE *WalkState)
ACPI_STATUS AcpiExStore(ACPI_OPERAND_OBJECT *SourceDesc, ACPI_OPERAND_OBJECT *DestDesc, ACPI_WALK_STATE *WalkState)
ACPI_STATUS AcpiExSystemDoStall(UINT32 HowLongUs)
ACPI_STATUS AcpiExSystemDoSleep(UINT64 HowLongMs)
ACPI_STATUS AcpiExSystemSignalEvent(ACPI_OPERAND_OBJECT *ObjDesc)
ACPI_STATUS AcpiExSystemResetEvent(ACPI_OPERAND_OBJECT *ObjDesc)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
ACPI_STATE_COMMON ACPI_NAMESPACE_NODE * Node
union acpi_operand_object * Operands[ACPI_OBJ_NUM_OPERANDS+1]
union acpi_operand_object * ResultObj
ACPI_GENERIC_STATE * ScopeInfo
ACPI_OBJECT_INTEGER Integer
ACPI_OBJECT_REFERENCE Reference
ACPI_OBJECT_COMMON Common
ACPI_OBJECT_PACKAGE Package
ACPI_OBJECT_STRING String
ACPI_OBJECT_BUFFER Buffer
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value