51#define _COMPONENT ACPI_UTILITIES
83 void *ObjPointer =
NULL;
103 switch (
Object->Common.Type)
116 ObjPointer =
Object->String.Pointer;
131 ObjPointer =
Object->Buffer.Pointer;
147 ObjPointer =
Object->Package.Elements;
156 if (
Object->Device.GpeBlock)
173 HandlerDesc = NextDesc;
180 "***** Mutex %p, OS Mutex %p\n",
183 if (
Object == AcpiGbl_GlobalLockMutex)
188 AcpiGbl_GlobalLockSemaphore =
NULL;
191 AcpiGbl_GlobalLockMutex =
NULL;
203 "***** Event %p, OS Semaphore %p\n",
213 "***** Method %p\n",
Object));
233 "***** Region %p\n",
Object));
257 StartDesc = NextDesc;
277 if (NextDesc == StartDesc)
280 "Circular region list in address handler object %p",
307 if (
Object->Field.InternalPccBuffer)
317 "***** Buffer Field %p\n",
Object));
329 "***** Bank Field %p\n",
Object));
341 "***** Address handler %p\n",
Object));
395 for (InternalObj = ObjList; *InternalObj; InternalObj++)
444 OriginalCount =
Object->Common.ReferenceCount;
452 NewCount = OriginalCount + 1;
453 Object->Common.ReferenceCount = NewCount;
461 "Obj %p, Reference Count was zero before increment\n",
466 "Obj %p Type %.2X [%s] Refs %.2X [Incremented]\n",
478 NewCount = OriginalCount - 1;
479 Object->Common.ReferenceCount = NewCount;
487 "Obj %p, Reference Count is already zero, cannot decrement\n",
493 "%s: Obj %p Type %.2X Refs %.2X [Decremented]\n",
520 "Large Reference Count (0x%X) in object %p, Type=0x%.2X Operation=%s",
570 "Object %p is NS handle\n",
Object));
578 switch (
Object->Common.Type)
595 PrevObject = NextObject;
605 for (
i = 0;
i <
Object->Package.Count;
i++)
617 switch (NextObject->
Common.Type)
636 NextObject,
Action, &StateList);
724 "Could not update object reference count"));
767 "Obj %p Current Refs=%X [To Be Incremented]\n",
816 "%s: Obj %p Current Refs=%X [To Be Decremented]\n",
#define ACPI_GET_FUNCTION_NAME
#define ACPI_GET_DESCRIPTOR_TYPE(d)
ACPI_OPERAND_OBJECT * AcpiNsGetSecondaryObject(ACPI_OPERAND_OBJECT *ObjDesc)
#define ACPI_DESC_TYPE_NAMED
#define AOPOBJ_STATIC_POINTER
#define ACPI_ADDR_HANDLER_DEFAULT_INSTALLED
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_EXCEPTION(plist)
#define ACPI_MODULE_NAME(Name)
#define ACPI_DB_ALLOCATIONS
#define ACPI_WARNING(plist)
#define ACPI_FUNCTION_ENTRY()
#define ACPI_FUNCTION_TRACE_PTR(a, b)
#define ACPI_ERROR(plist)
#define ACPI_DEBUG_PRINT_RAW(pl)
#define ACPI_FUNCTION_NAME(a)
ACPI_STATUS AcpiOsDeleteSemaphore(ACPI_SEMAPHORE Handle)
void AcpiOsReleaseLock(ACPI_SPINLOCK Handle, ACPI_CPU_FLAGS Flags)
ACPI_CPU_FLAGS AcpiOsAcquireLock(ACPI_SPINLOCK Handle)
#define ACPI_TYPE_LOCAL_REFERENCE
#define ACPI_REGION_DEACTIVATE
#define ACPI_TYPE_BUFFER_FIELD
#define ACPI_TYPE_LOCAL_BANK_FIELD
#define ACPI_TYPE_PROCESSOR
#define AcpiOsDeleteMutex(Handle)
#define ACPI_TYPE_INTEGER
#define ACPI_TYPE_LOCAL_REGION_FIELD
#define ACPI_NUM_NOTIFY_TYPES
#define ACPI_TYPE_LOCAL_ADDRESS_HANDLER
#define ACPI_TYPE_PACKAGE
#define ACPI_TYPE_LOCAL_INDEX_FIELD
#define ACPI_TYPE_THERMAL
void AcpiUtDeleteObjectDesc(ACPI_OPERAND_OBJECT *Object)
const char * AcpiUtGetObjectTypeName(ACPI_OPERAND_OBJECT *ObjDesc)
ACPI_GENERIC_STATE * AcpiUtPopGenericState(ACPI_GENERIC_STATE **ListHead)
BOOLEAN AcpiUtValidInternalObject(void *Object)
ACPI_STATUS AcpiUtCreateUpdateStateAndPush(ACPI_OPERAND_OBJECT *Object, UINT16 Action, ACPI_GENERIC_STATE **StateList)
void AcpiUtDeleteGenericState(ACPI_GENERIC_STATE *State)
void AcpiUtRemoveAddressRange(ACPI_ADR_SPACE_TYPE SpaceId, ACPI_NAMESPACE_NODE *RegionNode)
static const WCHAR Message[]
#define ACPI_MAX_REFERENCE_COUNT
ACPI_STATUS AcpiEvDeleteGpeBlock(ACPI_GPE_BLOCK_INFO *GpeBlock)
void AcpiExUnlinkMutex(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
union acpi_operand_object * RegionList
ACPI_ADR_SPACE_SETUP Setup
union acpi_operand_object * Next
union acpi_operand_object * BankObj
union acpi_operand_object * BufferObj
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_FIELD_INFO union acpi_operand_object * IndexObj
union acpi_operand_object * Next[2]
union acpi_operand_object ** Elements
union acpi_operand_object * Handler
union acpi_operand_object * Next
static VOID ErrorExit(LPTSTR lpszMessage)
ACPI_OBJECT_NOTIFY_HANDLER Notify
ACPI_OBJECT_BANK_FIELD BankField
ACPI_OBJECT_ADDR_HANDLER AddressSpace
ACPI_OBJECT_NOTIFY_COMMON CommonNotify
ACPI_OBJECT_BUFFER_FIELD BufferField
ACPI_OBJECT_REGION Region
ACPI_OBJECT_REFERENCE Reference
ACPI_OBJECT_INDEX_FIELD IndexField
ACPI_OBJECT_COMMON Common
ACPI_OBJECT_PACKAGE Package
static void AcpiUtUpdateRefCount(ACPI_OPERAND_OBJECT *Object, UINT32 Action)
ACPI_STATUS AcpiUtUpdateObjectReference(ACPI_OPERAND_OBJECT *Object, UINT16 Action)
static void AcpiUtDeleteInternalObj(ACPI_OPERAND_OBJECT *Object)
void AcpiUtDeleteInternalObjectList(ACPI_OPERAND_OBJECT **ObjList)
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
void AcpiUtAddReference(ACPI_OPERAND_OBJECT *Object)
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_In_ WDFIOTARGET _In_ _Strict_type_match_ WDF_IO_TARGET_SENT_IO_ACTION Action