Deleted Added
full compact
dbinput.c (71867) dbinput.c (73561)
1/*******************************************************************************
2 *
3 * Module Name: dbinput - user front-end to the AML debugger
1/*******************************************************************************
2 *
3 * Module Name: dbinput - user front-end to the AML debugger
4 * $Revision: 54 $
4 * $Revision: 56 $
5 *
6 ******************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.

--- 135 unchanged lines hidden (view full) ---

148UINT8 AcpiGbl_DbOutputFlags = DB_CONSOLE_OUTPUT;
149
150
151BOOLEAN opt_tables = FALSE;
152BOOLEAN opt_disasm = FALSE;
153BOOLEAN opt_stats = FALSE;
154BOOLEAN opt_parse_jit = FALSE;
155BOOLEAN opt_verbose = TRUE;
5 *
6 ******************************************************************************/
7
8/******************************************************************************
9 *
10 * 1. Copyright Notice
11 *
12 * Some or all of this work - Copyright (c) 1999, 2000, 2001, Intel Corp.

--- 135 unchanged lines hidden (view full) ---

148UINT8 AcpiGbl_DbOutputFlags = DB_CONSOLE_OUTPUT;
149
150
151BOOLEAN opt_tables = FALSE;
152BOOLEAN opt_disasm = FALSE;
153BOOLEAN opt_stats = FALSE;
154BOOLEAN opt_parse_jit = FALSE;
155BOOLEAN opt_verbose = TRUE;
156BOOLEAN opt_ini_methods = TRUE;
156
157
158/*
159 * Top-level debugger commands.
160 *
161 * This list of commands must match the string table below it
162 */
163

--- 30 unchanged lines hidden (view full) ---

194 CMD_NAMESPACE,
195 CMD_NOTIFY,
196 CMD_OBJECT,
197 CMD_OPEN,
198 CMD_OWNER,
199 CMD_PREFIX,
200 CMD_QUIT,
201 CMD_REFERENCES,
157
158
159/*
160 * Top-level debugger commands.
161 *
162 * This list of commands must match the string table below it
163 */
164

--- 30 unchanged lines hidden (view full) ---

195 CMD_NAMESPACE,
196 CMD_NOTIFY,
197 CMD_OBJECT,
198 CMD_OPEN,
199 CMD_OWNER,
200 CMD_PREFIX,
201 CMD_QUIT,
202 CMD_REFERENCES,
203 CMD_RESOURCES,
202 CMD_RESULTS,
203 CMD_SET,
204 CMD_STATS,
205 CMD_STOP,
206 CMD_TABLES,
207 CMD_TERMINATE,
208 CMD_THREADS,
209 CMD_TREE,

--- 36 unchanged lines hidden (view full) ---

246 {"NAMESPACE", 0},
247 {"NOTIFY", 2},
248 {"OBJECT", 1},
249 {"OPEN", 1},
250 {"OWNER", 1},
251 {"PREFIX", 0},
252 {"QUIT", 0},
253 {"REFERENCES", 1},
204 CMD_RESULTS,
205 CMD_SET,
206 CMD_STATS,
207 CMD_STOP,
208 CMD_TABLES,
209 CMD_TERMINATE,
210 CMD_THREADS,
211 CMD_TREE,

--- 36 unchanged lines hidden (view full) ---

248 {"NAMESPACE", 0},
249 {"NOTIFY", 2},
250 {"OBJECT", 1},
251 {"OPEN", 1},
252 {"OWNER", 1},
253 {"PREFIX", 0},
254 {"QUIT", 0},
255 {"REFERENCES", 1},
256 {"RESOURCES", 1},
254 {"RESULTS", 0},
255 {"SET", 3},
256 {"STATS", 0},
257 {"STOP", 0},
258 {"TABLES", 0},
259 {"TERMINATE", 0},
260 {"THREADS", 3},
261 {"TREE", 0},

--- 70 unchanged lines hidden (view full) ---

332 AcpiOsPrintf ("Find <Name> (? is wildcard) Find ACPI name(s) with wildcards\n");
333 AcpiOsPrintf ("Method Display list of loaded control methods\n");
334 AcpiOsPrintf ("Namespace [<Addr>|<Path>] [Depth] Display loaded namespace tree/subtree\n");
335 AcpiOsPrintf ("Notify <NamePath> <Value> Send a notification\n");
336 AcpiOsPrintf ("Objects <ObjectType> Display all objects of the given type\n");
337 AcpiOsPrintf ("Owner <OwnerId> [Depth] Display loaded namespace by object owner\n");
338 AcpiOsPrintf ("Prefix [<NamePath>] Set or Get current execution prefix\n");
339 AcpiOsPrintf ("References <Addr> Find all references to object at addr\n");
257 {"RESULTS", 0},
258 {"SET", 3},
259 {"STATS", 0},
260 {"STOP", 0},
261 {"TABLES", 0},
262 {"TERMINATE", 0},
263 {"THREADS", 3},
264 {"TREE", 0},

--- 70 unchanged lines hidden (view full) ---

335 AcpiOsPrintf ("Find <Name> (? is wildcard) Find ACPI name(s) with wildcards\n");
336 AcpiOsPrintf ("Method Display list of loaded control methods\n");
337 AcpiOsPrintf ("Namespace [<Addr>|<Path>] [Depth] Display loaded namespace tree/subtree\n");
338 AcpiOsPrintf ("Notify <NamePath> <Value> Send a notification\n");
339 AcpiOsPrintf ("Objects <ObjectType> Display all objects of the given type\n");
340 AcpiOsPrintf ("Owner <OwnerId> [Depth] Display loaded namespace by object owner\n");
341 AcpiOsPrintf ("Prefix [<NamePath>] Set or Get current execution prefix\n");
342 AcpiOsPrintf ("References <Addr> Find all references to object at addr\n");
343 AcpiOsPrintf ("Resources xxx Get and display resources\n");
340 AcpiOsPrintf ("Terminate Delete namespace and all internal objects\n");
341 AcpiOsPrintf ("Thread <Threads><Loops><NamePath> Spawn threads to execute method(s)\n");
342 return;
343
344 case 'M':
345 AcpiOsPrintf ("\nControl Method Execution Commands\n\n");
346 AcpiOsPrintf ("Arguments (or Args) Display method arguments\n");
347 AcpiOsPrintf ("Breakpoint <AmlOffset> Set an AML execution breakpoint\n");

--- 412 unchanged lines hidden (view full) ---

760 case CMD_PREFIX:
761 AcpiDbSetScope (Args[1]);
762 break;
763
764 case CMD_REFERENCES:
765 AcpiDbFindReferences (Args[1]);
766 break;
767
344 AcpiOsPrintf ("Terminate Delete namespace and all internal objects\n");
345 AcpiOsPrintf ("Thread <Threads><Loops><NamePath> Spawn threads to execute method(s)\n");
346 return;
347
348 case 'M':
349 AcpiOsPrintf ("\nControl Method Execution Commands\n\n");
350 AcpiOsPrintf ("Arguments (or Args) Display method arguments\n");
351 AcpiOsPrintf ("Breakpoint <AmlOffset> Set an AML execution breakpoint\n");

--- 412 unchanged lines hidden (view full) ---

764 case CMD_PREFIX:
765 AcpiDbSetScope (Args[1]);
766 break;
767
768 case CMD_REFERENCES:
769 AcpiDbFindReferences (Args[1]);
770 break;
771
772 case CMD_RESOURCES:
773 AcpiDbDisplayResources (Args[1]);
774 break;
775
768 case CMD_RESULTS:
769 AcpiDbDisplayResults ();
770 break;
771
772 case CMD_SET:
773 AcpiDbSetMethodData (Args[1], Args[2], Args[3]);
774 break;
775

--- 206 unchanged lines hidden ---
776 case CMD_RESULTS:
777 AcpiDbDisplayResults ();
778 break;
779
780 case CMD_SET:
781 AcpiDbSetMethodData (Args[1], Args[2], Args[3]);
782 break;
783

--- 206 unchanged lines hidden ---