diff options
Diffstat (limited to 'sys/contrib/dev/acpica/acdebug.h')
-rw-r--r-- | sys/contrib/dev/acpica/acdebug.h | 112 |
1 files changed, 108 insertions, 4 deletions
diff --git a/sys/contrib/dev/acpica/acdebug.h b/sys/contrib/dev/acpica/acdebug.h index 975d4d4..543289b 100644 --- a/sys/contrib/dev/acpica/acdebug.h +++ b/sys/contrib/dev/acpica/acdebug.h @@ -1,7 +1,7 @@ /****************************************************************************** * * Name: acdebug.h - ACPI/AML debugger - * $Revision: 58 $ + * $Revision: 61 $ * *****************************************************************************/ @@ -154,7 +154,7 @@ typedef struct ArgumentInfo * dbapi - external debugger interfaces */ -int +ACPI_STATUS AcpiDbInitialize ( void); @@ -173,7 +173,6 @@ AcpiDbSingleStep ( * dbcmds - debug commands and output routines */ - void AcpiDbDisplayTableInfo ( NATIVE_CHAR *TableArg); @@ -244,6 +243,39 @@ void AcpiDbDisplayResources ( NATIVE_CHAR *ObjectArg); +void +AcpiDbCheckIntegrity ( + void); + +ACPI_STATUS +AcpiDbIntegrityWalk ( + ACPI_HANDLE ObjHandle, + UINT32 NestingLevel, + void *Context, + void **ReturnValue); + +ACPI_STATUS +AcpiDbWalkAndMatchName ( + ACPI_HANDLE ObjHandle, + UINT32 NestingLevel, + void *Context, + void **ReturnValue); + +ACPI_STATUS +AcpiDbWalkForReferences ( + ACPI_HANDLE ObjHandle, + UINT32 NestingLevel, + void *Context, + void **ReturnValue); + +ACPI_STATUS +AcpiDbWalkForSpecificObjects ( + ACPI_HANDLE ObjHandle, + UINT32 NestingLevel, + void *Context, + void **ReturnValue); + + /* * dbdisasm - AML disassembler @@ -272,12 +304,20 @@ void AcpiDbDecodeInternalObject ( ACPI_OPERAND_OBJECT *ObjDesc); +UINT32 +AcpiDbBlockType ( + ACPI_PARSE_OBJECT *Op); + +ACPI_STATUS +AcpiPsDisplayObjectPathname ( + ACPI_WALK_STATE *WalkState, + ACPI_PARSE_OBJECT *Op); + /* * dbdisply - debug display commands */ - void AcpiDbDisplayMethodInfo ( ACPI_PARSE_OBJECT *Op); @@ -322,6 +362,14 @@ AcpiDbDisplayArgumentObject ( ACPI_OPERAND_OBJECT *ObjDesc, ACPI_WALK_STATE *WalkState); +void +AcpiDbDumpParserDescriptor ( + ACPI_PARSE_OBJECT *Op); + +void * +AcpiDbGetPointer ( + void *Target); + /* * dbexec - debugger control method execution @@ -339,6 +387,23 @@ AcpiDbCreateExecutionThreads ( NATIVE_CHAR *NumLoopsArg, NATIVE_CHAR *MethodNameArg); +ACPI_STATUS +AcpiDbExecuteMethod ( + ACPI_DB_METHOD_INFO *Info, + ACPI_BUFFER *ReturnObj); + +void +AcpiDbExecuteSetup ( + ACPI_DB_METHOD_INFO *Info); + +UINT32 +AcpiDbGetOutstandingAllocations ( + void); + +void ACPI_SYSTEM_XFACE +AcpiDbMethodThread ( + void *Context); + /* * dbfileio - Debugger file I/O commands @@ -349,6 +414,9 @@ AcpiDbMatchArgument ( NATIVE_CHAR *UserArgument, ARGUMENT_INFO *Arguments); +ACPI_STATUS +AeLocalLoadTable ( + ACPI_TABLE_HEADER *TablePtr); void AcpiDbCloseDebugFile ( @@ -401,6 +469,27 @@ AcpiDbUserCommands ( NATIVE_CHAR Prompt, ACPI_PARSE_OBJECT *Op); +void +AcpiDbDisplayHelp ( + NATIVE_CHAR *HelpType); + +NATIVE_CHAR * +AcpiDbGetNextToken ( + NATIVE_CHAR *String, + NATIVE_CHAR **Next); + +UINT32 +AcpiDbGetLine ( + NATIVE_CHAR *InputBuffer); + +UINT32 +AcpiDbMatchCommand ( + NATIVE_CHAR *UserCommand); + +void +AcpiDbSingleThread ( + void); + /* * dbstats - Generation and display of ACPI table statistics @@ -416,6 +505,21 @@ ACPI_STATUS AcpiDbDisplayStatistics ( NATIVE_CHAR *TypeArg); +ACPI_STATUS +AcpiDbClassifyOneObject ( + ACPI_HANDLE ObjHandle, + UINT32 NestingLevel, + void *Context, + void **ReturnValue); + +void +AcpiDbCountNamespaceObjects ( + void); + +void +AcpiDbEnumerateObject ( + ACPI_OPERAND_OBJECT *ObjDesc); + /* * dbutils - AML debugger utilities |