ReactOS  0.4.12-dev-90-g2e2e63e
acdebug.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  acpi_db_command_info
 
struct  acpi_db_command_help
 
struct  acpi_db_argument_info
 
struct  acpi_db_execute_walk
 

Macros

#define ACPI_DEBUG_BUFFER_SIZE   0x4000 /* 16K buffer for return objects */
 
#define PARAM_LIST(pl)   pl
 
#define EX_NO_SINGLE_STEP   1
 
#define EX_SINGLE_STEP   2
 

Typedefs

typedef struct acpi_db_command_info ACPI_DB_COMMAND_INFO
 
typedef struct acpi_db_command_help ACPI_DB_COMMAND_HELP
 
typedef struct acpi_db_argument_info ACPI_DB_ARGUMENT_INFO
 
typedef struct acpi_db_execute_walk ACPI_DB_EXECUTE_WALK
 

Functions

 ACPI_DBR_DEPENDENT_RETURN_OK (ACPI_STATUS AcpiDbSingleStep(ACPI_WALK_STATE *WalkState, ACPI_PARSE_OBJECT *Op, UINT32 OpType)) ACPI_DBR_DEPENDENT_RETURN_VOID(void AcpiDbSignalBreakPoint(ACPI_WALK_STATE *WalkState)) ACPI_NAMESPACE_NODE *AcpiDbConvertToNode(char *InString)
 
void AcpiDbDisplayTableInfo (char *TableArg)
 
void AcpiDbDisplayTemplate (char *BufferArg)
 
void AcpiDbUnloadAcpiTable (char *Name)
 
void AcpiDbSendNotify (char *Name, UINT32 Value)
 
void AcpiDbDisplayInterfaces (char *ActionArg, char *InterfaceNameArg)
 
ACPI_STATUS AcpiDbSleep (char *ObjectArg)
 
void AcpiDbTrace (char *EnableArg, char *MethodArg, char *OnceArg)
 
void AcpiDbDisplayLocks (void)
 
void AcpiDbDisplayResources (char *ObjectArg)
 
 ACPI_HW_DEPENDENT_RETURN_VOID (void AcpiDbDisplayGpes(void)) void AcpiDbDisplayHandlers(void)
 
 ACPI_HW_DEPENDENT_RETURN_VOID (void AcpiDbGenerateGpe(char *GpeArg, char *BlockArg)) ACPI_HW_DEPENDENT_RETURN_VOID(void AcpiDbGenerateSci(void)) void AcpiDbExecuteTest(char *TypeArg)
 
ACPI_STATUS AcpiDbHexCharToValue (int HexChar, UINT8 *ReturnValue)
 
ACPI_STATUS AcpiDbConvertToPackage (char *String, ACPI_OBJECT *Object)
 
ACPI_STATUS AcpiDbConvertToObject (ACPI_OBJECT_TYPE Type, char *String, ACPI_OBJECT *Object)
 
UINT8AcpiDbEncodePldBuffer (ACPI_PLD_INFO *PldInfo)
 
void AcpiDbDumpPldBuffer (ACPI_OBJECT *ObjDesc)
 
void AcpiDbSetMethodBreakpoint (char *Location, ACPI_WALK_STATE *WalkState, ACPI_PARSE_OBJECT *Op)
 
void AcpiDbSetMethodCallBreakpoint (ACPI_PARSE_OBJECT *Op)
 
void AcpiDbSetMethodData (char *TypeArg, char *IndexArg, char *ValueArg)
 
ACPI_STATUS AcpiDbDisassembleMethod (char *Name)
 
void AcpiDbDisassembleAml (char *Statements, ACPI_PARSE_OBJECT *Op)
 
void AcpiDbEvaluatePredefinedNames (void)
 
void AcpiDbSetScope (char *Name)
 
void AcpiDbDumpNamespace (char *StartArg, char *DepthArg)
 
void AcpiDbDumpNamespacePaths (void)
 
void AcpiDbDumpNamespaceByOwner (char *OwnerArg, char *DepthArg)
 
ACPI_STATUS AcpiDbFindNameInNamespace (char *NameArg)
 
void AcpiDbCheckPredefinedNames (void)
 
ACPI_STATUS AcpiDbDisplayObjects (char *ObjTypeArg, char *DisplayCountArg)
 
void AcpiDbCheckIntegrity (void)
 
void AcpiDbFindReferences (char *ObjectArg)
 
void AcpiDbGetBusInfo (void)
 
void AcpiDbDisplayMethodInfo (ACPI_PARSE_OBJECT *Op)
 
void AcpiDbDecodeAndDisplayObject (char *Target, char *OutputType)
 
 ACPI_DBR_DEPENDENT_RETURN_VOID (void AcpiDbDisplayResultObject(ACPI_OPERAND_OBJECT *ObjDesc, ACPI_WALK_STATE *WalkState)) ACPI_STATUS AcpiDbDisplayAllMethods(char *DisplayCountArg)
 
void AcpiDbDisplayArguments (void)
 
void AcpiDbDisplayLocals (void)
 
void AcpiDbDisplayResults (void)
 
void AcpiDbDisplayCallingTree (void)
 
void AcpiDbDisplayObjectType (char *ObjectArg)
 
void AcpiDbCreateExecutionThread (char *MethodNameArg, char **Arguments, ACPI_OBJECT_TYPE *Types)
 
void AcpiDbCreateExecutionThreads (char *NumThreadsArg, char *NumLoopsArg, char *MethodNameArg)
 
void AcpiDbDeleteObjects (UINT32 Count, ACPI_OBJECT *Objects)
 
ACPI_OBJECT_TYPE AcpiDbMatchArgument (char *UserArgument, ACPI_DB_ARGUMENT_INFO *Arguments)
 
void AcpiDbCloseDebugFile (void)
 
void AcpiDbOpenDebugFile (char *Name)
 
ACPI_STATUS AcpiDbLoadAcpiTable (char *Filename)
 
ACPI_STATUS AcpiDbLoadTables (ACPI_NEW_TABLE_DESC *ListHead)
 
void AcpiDbAddToHistory (char *CommandLine)
 
void AcpiDbDisplayHistory (void)
 
charAcpiDbGetFromHistory (char *CommandNumArg)
 
charAcpiDbGetHistoryByIndex (UINT32 CommanddNum)
 
ACPI_STATUS AcpiDbCommandDispatch (char *InputBuffer, ACPI_WALK_STATE *WalkState, ACPI_PARSE_OBJECT *Op)
 
void ACPI_SYSTEM_XFACE AcpiDbExecuteThread (void *Context)
 
ACPI_STATUS AcpiDbUserCommands (void)
 
charAcpiDbGetNextToken (char *String, char **Next, ACPI_OBJECT_TYPE *ReturnType)
 
void AcpiDbDecodeInternalObject (ACPI_OPERAND_OBJECT *ObjDesc)
 
void AcpiDbDisplayInternalObject (ACPI_OPERAND_OBJECT *ObjDesc, ACPI_WALK_STATE *WalkState)
 
void AcpiDbDecodeArguments (ACPI_WALK_STATE *WalkState)
 
void AcpiDbDecodeLocals (ACPI_WALK_STATE *WalkState)
 
void AcpiDbDumpMethodInfo (ACPI_STATUS Status, ACPI_WALK_STATE *WalkState)
 
void AcpiDbGenerateStatistics (ACPI_PARSE_OBJECT *Root, BOOLEAN IsMethod)
 
ACPI_STATUS AcpiDbDisplayStatistics (char *TypeArg)
 
void AcpiDbSetOutputDestination (UINT32 Where)
 
void AcpiDbDumpExternalObject (ACPI_OBJECT *ObjDesc, UINT32 Level)
 
void AcpiDbPrepNamestring (char *Name)
 
ACPI_NAMESPACE_NODEAcpiDbLocalNsLookup (char *Name)
 
void AcpiDbUint32ToHexString (UINT32 Value, char *Buffer)
 

Variables

char ** Args
 
char ACPI_OBJECT_TYPETypes
 
char ACPI_OBJECT_TYPE UINT32 Flags
 

Macro Definition Documentation

◆ ACPI_DEBUG_BUFFER_SIZE

#define ACPI_DEBUG_BUFFER_SIZE   0x4000 /* 16K buffer for return objects */

Definition at line 54 of file acdebug.h.

◆ EX_NO_SINGLE_STEP

#define EX_NO_SINGLE_STEP   1

Definition at line 87 of file acdebug.h.

◆ EX_SINGLE_STEP

#define EX_SINGLE_STEP   2

Definition at line 88 of file acdebug.h.

◆ PARAM_LIST

#define PARAM_LIST (   pl)    pl

Definition at line 85 of file acdebug.h.

Typedef Documentation

◆ ACPI_DB_ARGUMENT_INFO

◆ ACPI_DB_COMMAND_HELP

◆ ACPI_DB_COMMAND_INFO

◆ ACPI_DB_EXECUTE_WALK

Function Documentation

◆ ACPI_DBR_DEPENDENT_RETURN_OK()

ACPI_DBR_DEPENDENT_RETURN_OK ( ACPI_STATUS   AcpiDbSingleStepACPI_WALK_STATE *WalkState, ACPI_PARSE_OBJECT *Op, UINT32 OpType)

◆ ACPI_DBR_DEPENDENT_RETURN_VOID()

ACPI_DBR_DEPENDENT_RETURN_VOID ( void   AcpiDbDisplayResultObject ACPI_OPERAND_OBJECT *ObjDesc, ACPI_WALK_STATE *WalkState)

◆ ACPI_HW_DEPENDENT_RETURN_VOID() [1/2]

ACPI_HW_DEPENDENT_RETURN_VOID ( void   AcpiDbDisplayGpesvoid)

◆ ACPI_HW_DEPENDENT_RETURN_VOID() [2/2]

ACPI_HW_DEPENDENT_RETURN_VOID ( void   AcpiDbGenerateGpechar *GpeArg, char *BlockArg)

◆ AcpiDbAddToHistory()

void AcpiDbAddToHistory ( char CommandLine)

◆ AcpiDbCheckIntegrity()

void AcpiDbCheckIntegrity ( void  )

◆ AcpiDbCheckPredefinedNames()

void AcpiDbCheckPredefinedNames ( void  )

◆ AcpiDbCloseDebugFile()

void AcpiDbCloseDebugFile ( void  )

◆ AcpiDbCommandDispatch()

ACPI_STATUS AcpiDbCommandDispatch ( char InputBuffer,
ACPI_WALK_STATE WalkState,
ACPI_PARSE_OBJECT Op 
)

◆ AcpiDbConvertToObject()

ACPI_STATUS AcpiDbConvertToObject ( ACPI_OBJECT_TYPE  Type,
char String,
ACPI_OBJECT Object 
)

◆ AcpiDbConvertToPackage()

ACPI_STATUS AcpiDbConvertToPackage ( char String,
ACPI_OBJECT Object 
)

◆ AcpiDbCreateExecutionThread()

void AcpiDbCreateExecutionThread ( char MethodNameArg,
char **  Arguments,
ACPI_OBJECT_TYPE Types 
)

◆ AcpiDbCreateExecutionThreads()

void AcpiDbCreateExecutionThreads ( char NumThreadsArg,
char NumLoopsArg,
char MethodNameArg 
)

◆ AcpiDbDecodeAndDisplayObject()

void AcpiDbDecodeAndDisplayObject ( char Target,
char OutputType 
)

◆ AcpiDbDecodeArguments()

void AcpiDbDecodeArguments ( ACPI_WALK_STATE WalkState)

◆ AcpiDbDecodeInternalObject()

void AcpiDbDecodeInternalObject ( ACPI_OPERAND_OBJECT ObjDesc)

◆ AcpiDbDecodeLocals()

void AcpiDbDecodeLocals ( ACPI_WALK_STATE WalkState)

◆ AcpiDbDeleteObjects()

void AcpiDbDeleteObjects ( UINT32  Count,
ACPI_OBJECT Objects 
)

◆ AcpiDbDisassembleAml()

void AcpiDbDisassembleAml ( char Statements,
ACPI_PARSE_OBJECT Op 
)

◆ AcpiDbDisassembleMethod()

ACPI_STATUS AcpiDbDisassembleMethod ( char Name)

◆ AcpiDbDisplayArguments()

void AcpiDbDisplayArguments ( void  )

◆ AcpiDbDisplayCallingTree()

void AcpiDbDisplayCallingTree ( void  )

◆ AcpiDbDisplayHistory()

void AcpiDbDisplayHistory ( void  )

◆ AcpiDbDisplayInterfaces()

void AcpiDbDisplayInterfaces ( char ActionArg,
char InterfaceNameArg 
)

◆ AcpiDbDisplayInternalObject()

void AcpiDbDisplayInternalObject ( ACPI_OPERAND_OBJECT ObjDesc,
ACPI_WALK_STATE WalkState 
)

◆ AcpiDbDisplayLocals()

void AcpiDbDisplayLocals ( void  )

◆ AcpiDbDisplayLocks()

void AcpiDbDisplayLocks ( void  )

◆ AcpiDbDisplayMethodInfo()

void AcpiDbDisplayMethodInfo ( ACPI_PARSE_OBJECT Op)

◆ AcpiDbDisplayObjects()

ACPI_STATUS AcpiDbDisplayObjects ( char ObjTypeArg,
char DisplayCountArg 
)

◆ AcpiDbDisplayObjectType()

void AcpiDbDisplayObjectType ( char ObjectArg)

◆ AcpiDbDisplayResources()

void AcpiDbDisplayResources ( char ObjectArg)

◆ AcpiDbDisplayResults()

void AcpiDbDisplayResults ( void  )

◆ AcpiDbDisplayStatistics()

ACPI_STATUS AcpiDbDisplayStatistics ( char TypeArg)

Referenced by AcpiUtDeleteCaches().

◆ AcpiDbDisplayTableInfo()

void AcpiDbDisplayTableInfo ( char TableArg)

◆ AcpiDbDisplayTemplate()

void AcpiDbDisplayTemplate ( char BufferArg)

◆ AcpiDbDumpExternalObject()

void AcpiDbDumpExternalObject ( ACPI_OBJECT ObjDesc,
UINT32  Level 
)

◆ AcpiDbDumpMethodInfo()

void AcpiDbDumpMethodInfo ( ACPI_STATUS  Status,
ACPI_WALK_STATE WalkState 
)

Referenced by AcpiDsMethodError().

◆ AcpiDbDumpNamespace()

void AcpiDbDumpNamespace ( char StartArg,
char DepthArg 
)

◆ AcpiDbDumpNamespaceByOwner()

void AcpiDbDumpNamespaceByOwner ( char OwnerArg,
char DepthArg 
)

◆ AcpiDbDumpNamespacePaths()

void AcpiDbDumpNamespacePaths ( void  )

◆ AcpiDbDumpPldBuffer()

void AcpiDbDumpPldBuffer ( ACPI_OBJECT ObjDesc)

◆ AcpiDbEncodePldBuffer()

UINT8* AcpiDbEncodePldBuffer ( ACPI_PLD_INFO PldInfo)

◆ AcpiDbEvaluatePredefinedNames()

void AcpiDbEvaluatePredefinedNames ( void  )

◆ AcpiDbExecuteThread()

void ACPI_SYSTEM_XFACE AcpiDbExecuteThread ( void Context)

◆ AcpiDbFindNameInNamespace()

ACPI_STATUS AcpiDbFindNameInNamespace ( char NameArg)

◆ AcpiDbFindReferences()

void AcpiDbFindReferences ( char ObjectArg)

◆ AcpiDbGenerateStatistics()

void AcpiDbGenerateStatistics ( ACPI_PARSE_OBJECT Root,
BOOLEAN  IsMethod 
)

◆ AcpiDbGetBusInfo()

void AcpiDbGetBusInfo ( void  )

◆ AcpiDbGetFromHistory()

char* AcpiDbGetFromHistory ( char CommandNumArg)

◆ AcpiDbGetHistoryByIndex()

char* AcpiDbGetHistoryByIndex ( UINT32  CommanddNum)

◆ AcpiDbGetNextToken()

char* AcpiDbGetNextToken ( char String,
char **  Next,
ACPI_OBJECT_TYPE ReturnType 
)

◆ AcpiDbHexCharToValue()

ACPI_STATUS AcpiDbHexCharToValue ( int  HexChar,
UINT8 ReturnValue 
)

◆ AcpiDbLoadAcpiTable()

ACPI_STATUS AcpiDbLoadAcpiTable ( char Filename)

◆ AcpiDbLoadTables()

ACPI_STATUS AcpiDbLoadTables ( ACPI_NEW_TABLE_DESC ListHead)

◆ AcpiDbLocalNsLookup()

ACPI_NAMESPACE_NODE* AcpiDbLocalNsLookup ( char Name)

◆ AcpiDbMatchArgument()

ACPI_OBJECT_TYPE AcpiDbMatchArgument ( char UserArgument,
ACPI_DB_ARGUMENT_INFO Arguments 
)

◆ AcpiDbOpenDebugFile()

void AcpiDbOpenDebugFile ( char Name)

◆ AcpiDbPrepNamestring()

void AcpiDbPrepNamestring ( char Name)

◆ AcpiDbSendNotify()

void AcpiDbSendNotify ( char Name,
UINT32  Value 
)

◆ AcpiDbSetMethodBreakpoint()

void AcpiDbSetMethodBreakpoint ( char Location,
ACPI_WALK_STATE WalkState,
ACPI_PARSE_OBJECT Op 
)

◆ AcpiDbSetMethodCallBreakpoint()

void AcpiDbSetMethodCallBreakpoint ( ACPI_PARSE_OBJECT Op)

◆ AcpiDbSetMethodData()

void AcpiDbSetMethodData ( char TypeArg,
char IndexArg,
char ValueArg 
)

◆ AcpiDbSetOutputDestination()

void AcpiDbSetOutputDestination ( UINT32  Where)

◆ AcpiDbSetScope()

void AcpiDbSetScope ( char Name)

◆ AcpiDbSleep()

ACPI_STATUS AcpiDbSleep ( char ObjectArg)

◆ AcpiDbTrace()

void AcpiDbTrace ( char EnableArg,
char MethodArg,
char OnceArg 
)

◆ AcpiDbUint32ToHexString()

void AcpiDbUint32ToHexString ( UINT32  Value,
char Buffer 
)

◆ AcpiDbUnloadAcpiTable()

void AcpiDbUnloadAcpiTable ( char Name)

◆ AcpiDbUserCommands()

ACPI_STATUS AcpiDbUserCommands ( void  )

Variable Documentation

◆ Args

◆ Flags

Definition at line 342 of file acdebug.h.

◆ Types