50#define _COMPONENT ACPI_EVENTS
163 void *RegionContext =
NULL;
185 "No handler for Region [%4.4s] (%p) [%s]",
194 ContextLocked =
FALSE;
210 "No init routine for region(%p) [%s]",
251 "During region initialization: [%s]",
279 "Handler %p (@%p) Address %8.8X%8.8X [%s]\n",
323 goto ReEnterInterpreter;
326 ContextLocked =
TRUE;
337 BitWidth = FieldObj->
Field.BitLength;
364 "Timeout from EC hardware or EC device driver"));
407 void **RegionContext;
442 if (ObjDesc == RegionObj)
445 "Removing Region %p from address handler %p\n",
446 RegionObj, HandlerObj));
496 *RegionContext =
NULL;
504 "from region handler - deactivate, [%s]",
533 if (ObjDesc == StartDesc)
536 "Circular handler list in region object %p",
545 "Cannot remove region %p from address handler %p\n",
546 RegionObj, HandlerObj));
585 "Adding Region [%4.4s] %p to address handler %p [%s]\n",
587 RegionObj, HandlerObj,
631 if (!AcpiGbl_NamespaceInitialized ||
733 RegionObj->
Common.Flags &= ~AOPOBJ_REG_CONNECTED;
787 Info.RegRunCount = 0;
790 " Running _REG methods for SpaceId %s\n",
812 " Executed %u _REG methods for SpaceId %s\n",
857 (
Node != AcpiGbl_RootNode))
963 Args.Pointer = Objects;
unsigned long long UINT64
UINT32 void void ** ReturnValue
#define AE_ALREADY_EXISTS
#define ACPI_MTX_NAMESPACE
#define ACPI_FORMAT_UINT64(i)
ACPI_OPERAND_OBJECT * AcpiNsGetSecondaryObject(ACPI_OPERAND_OBJECT *ObjDesc)
ACPI_OPERAND_OBJECT * AcpiNsGetAttachedObject(ACPI_NAMESPACE_NODE *Node)
#define ACPI_NS_WALK_UNLOCK
ACPI_NAMESPACE_NODE * AcpiNsValidateHandle(ACPI_HANDLE Handle)
ACPI_STATUS AcpiNsSearchOneScope(UINT32 EntryName, ACPI_NAMESPACE_NODE *Node, ACPI_OBJECT_TYPE Type, ACPI_NAMESPACE_NODE **RetNode)
ACPI_STATUS AcpiNsWalkNamespace(ACPI_OBJECT_TYPE Type, ACPI_HANDLE StartObject, UINT32 MaxDepth, UINT32 Flags, ACPI_WALK_CALLBACK DescendingCallback, ACPI_WALK_CALLBACK AscendingCallback, void *Context, void **ReturnValue)
ACPI_NAMESPACE_NODE * AcpiNsGetNextNode(ACPI_NAMESPACE_NODE *Parent, ACPI_NAMESPACE_NODE *Child)
ACPI_STATUS AcpiNsEvaluate(ACPI_EVALUATE_INFO *Info)
#define AOPOBJ_REG_CONNECTED
#define AOPOBJ_SETUP_COMPLETE
#define ACPI_ADDR_HANDLER_DEFAULT_INSTALLED
#define ACPI_DEBUG_PRINT(pl)
#define ACPI_DEBUG_EXEC(a)
#define ACPI_EXCEPTION(plist)
#define ACPI_MODULE_NAME(Name)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_ERROR(plist)
#define ACPI_DEBUG_PRINT_RAW(pl)
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING ACPI_OBJECT_LIST ACPI_BUFFER *ReturnObjectBuffer ACPI_DEVICE_INFO **ReturnBuffer ACPI_HANDLE ACPI_HANDLE ACPI_HANDLE *OutHandle ACPI_HANDLE *OutHandle void *Context void *Context ACPI_EVENT_HANDLER Handler UINT32 UINT32 ACPI_GPE_HANDLER void *Context UINT32 ACPI_NOTIFY_HANDLER void *Context ACPI_ADR_SPACE_TYPE SpaceId
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER Handler
#define ACPI_IGNORE_RETURN_VALUE
#define ACPI_ADR_SPACE_EC
#define ACPI_REGION_DEACTIVATE
UINT8 ACPI_ADR_SPACE_TYPE
#define ACPI_REGION_ACTIVATE
#define AcpiOsAcquireMutex(Handle, Time)
#define ACPI_ADR_SPACE_SYSTEM_IO
#define ACPI_ADR_SPACE_PLATFORM_COMM
#define ACPI_TYPE_INTEGER
#define ACPI_ADR_SPACE_SYSTEM_MEMORY
ACPI_STATUS(* ACPI_ADR_SPACE_SETUP)(ACPI_HANDLE RegionHandle, UINT32 Function, void *HandlerContext, void **RegionContext)
#define ACPI_ADR_SPACE_GSBUS
#define AcpiOsReleaseMutex(Handle)
ACPI_STATUS(* ACPI_ADR_SPACE_HANDLER)(UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext)
#define ACPI_CAST_PTR(t, p)
#define ACPI_ADR_SPACE_FIXED_HARDWARE
#define ACPI_ADR_SPACE_DATA_TABLE
#define ACPI_WAIT_FOREVER
#define ACPI_REG_DISCONNECT
#define ACPI_ALLOCATE_ZEROED(a)
#define ACPI_ADR_SPACE_GPIO
const char * AcpiUtGetRegionName(UINT8 SpaceId)
ACPI_STATUS AcpiUtAcquireMutex(ACPI_MUTEX_HANDLE MutexId)
const char * AcpiUtGetNodeName(void *Object)
ACPI_STATUS AcpiUtReleaseMutex(ACPI_MUTEX_HANDLE MutexId)
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
ACPI_OPERAND_OBJECT * AcpiUtCreateIntegerObject(UINT64 Value)
void AcpiUtAddReference(ACPI_OPERAND_OBJECT *Object)
_In_ CDROM_SCAN_FOR_SPECIAL_INFO _In_ PCDROM_SCAN_FOR_SPECIAL_HANDLER Function
#define ACPI_NUM_DEFAULT_SPACES
BOOLEAN AcpiEvHasDefaultHandler(ACPI_NAMESPACE_NODE *Node, ACPI_ADR_SPACE_TYPE SpaceId)
ACPI_STATUS AcpiEvExecuteRegMethod(ACPI_OPERAND_OBJECT *RegionObj, UINT32 Function)
ACPI_STATUS AcpiEvAddressSpaceDispatch(ACPI_OPERAND_OBJECT *RegionObj, ACPI_OPERAND_OBJECT *FieldObj, UINT32 Function, UINT32 RegionOffset, UINT32 BitWidth, UINT64 *Value)
void AcpiEvExecuteRegMethods(ACPI_NAMESPACE_NODE *Node, ACPI_ADR_SPACE_TYPE SpaceId, UINT32 Function)
ACPI_STATUS AcpiEvAttachRegion(ACPI_OPERAND_OBJECT *HandlerObj, ACPI_OPERAND_OBJECT *RegionObj, BOOLEAN AcpiNsIsLocked)
void AcpiEvDetachRegion(ACPI_OPERAND_OBJECT *RegionObj, BOOLEAN AcpiNsIsLocked)
static void AcpiEvExecuteOrphanRegMethod(ACPI_NAMESPACE_NODE *DeviceNode, ACPI_ADR_SPACE_TYPE SpaceId)
static ACPI_STATUS AcpiEvRegRun(ACPI_HANDLE ObjHandle, UINT32 Level, void *Context, void **ReturnValue)
UINT8 AcpiGbl_DefaultAddressSpaces[]
ACPI_STATUS AcpiEvInitializeOpRegions(void)
void AcpiExExitInterpreter(void)
void AcpiExEnterInterpreter(void)
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_STATUS AcpiEvaluateObject(ACPI_HANDLE Handle, ACPI_STRING Pathname, ACPI_OBJECT_LIST *ExternalParams, ACPI_BUFFER *ReturnBuffer)
ACPI_STATUS AcpiGetHandle(ACPI_HANDLE Parent, ACPI_STRING Pathname, ACPI_HANDLE *RetHandle)
union acpi_operand_object * Object
struct acpi_namespace_node * Parent
union acpi_operand_object * RegionList
ACPI_ADR_SPACE_HANDLER Handler
ACPI_ADR_SPACE_SETUP Setup
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_FIELD_INFO UINT16 ResourceLength
UINT8 * InternalPccBuffer
ACPI_NAMESPACE_NODE * Node
ACPI_OBJECT_COMMON_HEADER UINT8 SpaceId
ACPI_PHYSICAL_ADDRESS Address
union acpi_operand_object * Handler
union acpi_operand_object * Next
struct acpi_object::@619 Integer
ACPI_OBJECT_REGION_FIELD Field
ACPI_OBJECT_ADDR_HANDLER AddressSpace
ACPI_OBJECT_REGION Region
ACPI_OBJECT_COMMON Common
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level