Prefixed component IDs with "ACPI_"

date	2001.03.07.19.28.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 16:16:40 +00:00
parent 64ec05999a
commit 8b4b4e7a6f
10 changed files with 46 additions and 24 deletions

View File

@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: dbcmds - debug commands and output routines
* $Revision: 1.48 $
* $Revision: 1.49 $
*
******************************************************************************/
@ -128,7 +128,7 @@
#ifdef ENABLE_DEBUGGER
#define _COMPONENT DEBUGGER
#define _COMPONENT ACPI_DEBUGGER
MODULE_NAME ("dbcmds")

View File

@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: dbdisply - debug display commands
* $Revision: 1.41 $
* $Revision: 1.43 $
*
******************************************************************************/
@ -129,7 +129,7 @@
#ifdef ENABLE_DEBUGGER
#define _COMPONENT DEBUGGER
#define _COMPONENT ACPI_DEBUGGER
MODULE_NAME ("dbdisply")
@ -498,7 +498,7 @@ AcpiDbDisplayInternalObject (
switch (ObjDesc->Common.Type)
{
case INTERNAL_TYPE_REFERENCE:
switch (ObjDesc->Reference.OpCode)
switch (ObjDesc->Reference.Opcode)
{
case AML_ZERO_OP:
AcpiOsPrintf ("[Const] Number %.8X", 0);

View File

@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: dbexec - debugger control method execution
* $Revision: 1.21 $
* $Revision: 1.23 $
*
******************************************************************************/
@ -128,7 +128,7 @@
#ifdef ENABLE_DEBUGGER
#define _COMPONENT DEBUGGER
#define _COMPONENT ACPI_DEBUGGER
MODULE_NAME ("dbexec")
@ -342,7 +342,8 @@ AcpiDbExecute (
if (ReturnObj.Length)
{
AcpiOsPrintf ("Execution of %s returned object %p\n", Info.Pathname, ReturnObj.Pointer);
AcpiOsPrintf ("Execution of %s returned object %p Buflen %X\n",
Info.Pathname, ReturnObj.Pointer, ReturnObj.Length);
AcpiDbDumpObject (ReturnObj.Pointer, 1);
}
}
@ -381,7 +382,8 @@ AcpiDbMethodThread (
{
if (ReturnObj.Length)
{
AcpiOsPrintf ("Execution of %s returned object %p\n", Info->Pathname, ReturnObj.Pointer);
AcpiOsPrintf ("Execution of %s returned object %p Buflen %X\n",
Info->Pathname, ReturnObj.Pointer, ReturnObj.Length);
AcpiDbDumpObject (ReturnObj.Pointer, 1);
}
}

View File

@ -2,7 +2,7 @@
*
* Module Name: dbfileio - Debugger file I/O commands. These can't usually
* be used when running the debugger in Ring 0 (Kernel mode)
* $Revision: 1.37 $
* $Revision: 1.39 $
*
******************************************************************************/
@ -125,7 +125,7 @@
#ifdef ENABLE_DEBUGGER
#define _COMPONENT DEBUGGER
#define _COMPONENT ACPI_DEBUGGER
MODULE_NAME ("dbfileio")
@ -240,6 +240,10 @@ AcpiDbOpenDebugFile (
STRCPY (DebugFilename, Name);
OutputToFile = TRUE;
}
else
{
AcpiOsPrintf ("Could not open debug file %s\n", Name);
}
#endif
}

View File

@ -1,7 +1,7 @@
/******************************************************************************
*
* Module Name: dbhistry - debugger HISTORY command
* $Revision: 1.17 $
* $Revision: 1.18 $
*
*****************************************************************************/
@ -128,7 +128,7 @@
#ifdef ENABLE_DEBUGGER
#define _COMPONENT DEBUGGER
#define _COMPONENT ACPI_DEBUGGER
MODULE_NAME ("dbhistry")

View File

@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: dbinput - user front-end to the AML debugger
* $Revision: 1.54 $
* $Revision: 1.58 $
*
******************************************************************************/
@ -125,7 +125,7 @@
#ifdef ENABLE_DEBUGGER
#define _COMPONENT DEBUGGER
#define _COMPONENT ACPI_DEBUGGER
MODULE_NAME ("dbinput")
@ -153,6 +153,7 @@ BOOLEAN opt_disasm = FALSE;
BOOLEAN opt_stats = FALSE;
BOOLEAN opt_parse_jit = FALSE;
BOOLEAN opt_verbose = TRUE;
BOOLEAN opt_ini_methods = TRUE;
/*
@ -190,6 +191,7 @@ enum AcpiAmlDebuggerCommands
CMD_LIST,
CMD_LOAD,
CMD_LOCALS,
CMD_LOCKS,
CMD_METHODS,
CMD_NAMESPACE,
CMD_NOTIFY,
@ -199,6 +201,7 @@ enum AcpiAmlDebuggerCommands
CMD_PREFIX,
CMD_QUIT,
CMD_REFERENCES,
CMD_RESOURCES,
CMD_RESULTS,
CMD_SET,
CMD_STATS,
@ -242,6 +245,7 @@ COMMAND_INFO Commands[] =
{"LIST", 0},
{"LOAD", 1},
{"LOCALS", 0},
{"LOCKS", 0},
{"METHODS", 0},
{"NAMESPACE", 0},
{"NOTIFY", 2},
@ -251,6 +255,7 @@ COMMAND_INFO Commands[] =
{"PREFIX", 0},
{"QUIT", 0},
{"REFERENCES", 1},
{"RESOURCES", 1},
{"RESULTS", 0},
{"SET", 3},
{"STATS", 0},
@ -315,6 +320,7 @@ AcpiDbDisplayHelp (
AcpiOsPrintf ("Help This help screen\n");
AcpiOsPrintf ("History Display command history buffer\n");
AcpiOsPrintf ("Level [<DebugLevel>] [console] Get/Set debug level for file or console\n");
AcpiOsPrintf ("Locks Current status of internal mutexes\n");
AcpiOsPrintf ("Quit or Exit Exit this command\n");
AcpiOsPrintf ("Stats [Allocations|Memory|Misc\n");
AcpiOsPrintf (" |Objects|Tables] Display namespace and memory statistics\n");
@ -337,6 +343,7 @@ AcpiDbDisplayHelp (
AcpiOsPrintf ("Owner <OwnerId> [Depth] Display loaded namespace by object owner\n");
AcpiOsPrintf ("Prefix [<NamePath>] Set or Get current execution prefix\n");
AcpiOsPrintf ("References <Addr> Find all references to object at addr\n");
AcpiOsPrintf ("Resources xxx Get and display resources\n");
AcpiOsPrintf ("Terminate Delete namespace and all internal objects\n");
AcpiOsPrintf ("Thread <Threads><Loops><NamePath> Spawn threads to execute method(s)\n");
return;
@ -728,6 +735,10 @@ AcpiDbCommandDispatch (
}
break;
case CMD_LOCKS:
AcpiDbDisplayLocks ();
break;
case CMD_LOCALS:
AcpiDbDisplayLocals ();
break;
@ -765,6 +776,10 @@ AcpiDbCommandDispatch (
AcpiDbFindReferences (Args[1]);
break;
case CMD_RESOURCES:
AcpiDbDisplayResources (Args[1]);
break;
case CMD_RESULTS:
AcpiDbDisplayResults ();
break;
@ -810,7 +825,8 @@ AcpiDbCommandDispatch (
case CMD_QUIT:
if (Op)
{
return (AE_AML_ERROR);
AcpiOsPrintf ("Method execution terminated\n");
return (AE_CTRL_TERMINATE);
}
if (!OutputToFile)

View File

@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: dbstats - Generation and display of ACPI table statistics
* $Revision: 1.37 $
* $Revision: 1.38 $
*
******************************************************************************/
@ -123,7 +123,7 @@
#ifdef ENABLE_DEBUGGER
#define _COMPONENT DEBUGGER
#define _COMPONENT ACPI_DEBUGGER
MODULE_NAME ("dbstats")
/*

View File

@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: dbutils - AML debugger utilities
* $Revision: 1.35 $
* $Revision: 1.36 $
*
******************************************************************************/
@ -128,7 +128,7 @@
#ifdef ENABLE_DEBUGGER
#define _COMPONENT DEBUGGER
#define _COMPONENT ACPI_DEBUGGER
MODULE_NAME ("dbutils")

View File

@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: dbxface - AML Debugger external interfaces
* $Revision: 1.34 $
* $Revision: 1.35 $
*
******************************************************************************/
@ -127,7 +127,7 @@
#ifdef ENABLE_DEBUGGER
#define _COMPONENT DEBUGGER
#define _COMPONENT ACPI_DEBUGGER
MODULE_NAME ("dbxface")

View File

@ -1,7 +1,7 @@
/*******************************************************************************
*
* Module Name: dbdisasm - parser op tree display routines
* $Revision: 1.37 $
* $Revision: 1.38 $
*
******************************************************************************/
@ -124,7 +124,7 @@
#ifdef ENABLE_DEBUGGER
#define _COMPONENT DEBUGGER
#define _COMPONENT ACPI_DEBUGGER
MODULE_NAME ("dbdisasm")