dbinput.c (238381) | dbinput.c (240716) |
---|---|
1/******************************************************************************* 2 * 3 * Module Name: dbinput - user front-end to the AML debugger 4 * 5 ******************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2012, Intel Corp. --- 53 unchanged lines hidden (view full) --- 62AcpiDbMatchCommand ( 63 char *UserCommand); 64 65static void 66AcpiDbSingleThread ( 67 void); 68 69static void | 1/******************************************************************************* 2 * 3 * Module Name: dbinput - user front-end to the AML debugger 4 * 5 ******************************************************************************/ 6 7/* 8 * Copyright (C) 2000 - 2012, Intel Corp. --- 53 unchanged lines hidden (view full) --- 62AcpiDbMatchCommand ( 63 char *UserCommand); 64 65static void 66AcpiDbSingleThread ( 67 void); 68 69static void |
70AcpiDbDisplayCommandInfo ( 71 char *Command, 72 BOOLEAN DisplayAll); 73 74static void |
|
70AcpiDbDisplayHelp ( | 75AcpiDbDisplayHelp ( |
71 void); | 76 char *Command); |
72 | 77 |
78static BOOLEAN 79AcpiDbMatchCommandHelp ( 80 char *Command, 81 const ACPI_DB_COMMAND_HELP *Help); |
|
73 | 82 |
83 |
|
74/* 75 * Top-level debugger commands. 76 * 77 * This list of commands must match the string table below it 78 */ 79enum AcpiExDebuggerCommands 80{ 81 CMD_NOT_FOUND = 0, --- 5 unchanged lines hidden (view full) --- 87 CMD_BREAKPOINT, 88 CMD_BUSINFO, 89 CMD_CALL, 90 CMD_CLOSE, 91 CMD_DEBUG, 92 CMD_DISASSEMBLE, 93 CMD_DUMP, 94 CMD_ENABLEACPI, | 84/* 85 * Top-level debugger commands. 86 * 87 * This list of commands must match the string table below it 88 */ 89enum AcpiExDebuggerCommands 90{ 91 CMD_NOT_FOUND = 0, --- 5 unchanged lines hidden (view full) --- 97 CMD_BREAKPOINT, 98 CMD_BUSINFO, 99 CMD_CALL, 100 CMD_CLOSE, 101 CMD_DEBUG, 102 CMD_DISASSEMBLE, 103 CMD_DUMP, 104 CMD_ENABLEACPI, |
105 CMD_EVALUATE, |
|
95 CMD_EVENT, 96 CMD_EXECUTE, 97 CMD_EXIT, 98 CMD_FIND, 99 CMD_GO, 100 CMD_GPE, 101 CMD_GPES, 102 CMD_HANDLERS, --- 37 unchanged lines hidden (view full) --- 140 CMD_UNLOAD 141}; 142 143#define CMD_FIRST_VALID 2 144 145 146/* Second parameter is the required argument count */ 147 | 106 CMD_EVENT, 107 CMD_EXECUTE, 108 CMD_EXIT, 109 CMD_FIND, 110 CMD_GO, 111 CMD_GPE, 112 CMD_GPES, 113 CMD_HANDLERS, --- 37 unchanged lines hidden (view full) --- 151 CMD_UNLOAD 152}; 153 154#define CMD_FIRST_VALID 2 155 156 157/* Second parameter is the required argument count */ 158 |
148static const COMMAND_INFO AcpiGbl_DbCommands[] = | 159static const ACPI_DB_COMMAND_INFO AcpiGbl_DbCommands[] = |
149{ 150 {"<NOT FOUND>", 0}, 151 {"<NULL>", 0}, 152 {"ALLOCATIONS", 0}, 153 {"ARGS", 0}, 154 {"ARGUMENTS", 0}, 155 {"BATCH", 0}, 156 {"BREAKPOINT", 1}, 157 {"BUSINFO", 0}, 158 {"CALL", 0}, 159 {"CLOSE", 0}, 160 {"DEBUG", 1}, 161 {"DISASSEMBLE", 1}, 162 {"DUMP", 1}, 163 {"ENABLEACPI", 0}, | 160{ 161 {"<NOT FOUND>", 0}, 162 {"<NULL>", 0}, 163 {"ALLOCATIONS", 0}, 164 {"ARGS", 0}, 165 {"ARGUMENTS", 0}, 166 {"BATCH", 0}, 167 {"BREAKPOINT", 1}, 168 {"BUSINFO", 0}, 169 {"CALL", 0}, 170 {"CLOSE", 0}, 171 {"DEBUG", 1}, 172 {"DISASSEMBLE", 1}, 173 {"DUMP", 1}, 174 {"ENABLEACPI", 0}, |
175 {"EVALUATE", 1}, |
|
164 {"EVENT", 1}, 165 {"EXECUTE", 1}, 166 {"EXIT", 0}, 167 {"FIND", 1}, 168 {"GO", 0}, 169 {"GPE", 2}, 170 {"GPES", 0}, 171 {"HANDLERS", 0}, --- 20 unchanged lines hidden (view full) --- 192 {"PREDEFINED", 0}, 193 {"PREFIX", 0}, 194 {"QUIT", 0}, 195 {"REFERENCES", 1}, 196 {"RESOURCES", 1}, 197 {"RESULTS", 0}, 198 {"SET", 3}, 199 {"SLEEP", 1}, | 176 {"EVENT", 1}, 177 {"EXECUTE", 1}, 178 {"EXIT", 0}, 179 {"FIND", 1}, 180 {"GO", 0}, 181 {"GPE", 2}, 182 {"GPES", 0}, 183 {"HANDLERS", 0}, --- 20 unchanged lines hidden (view full) --- 204 {"PREDEFINED", 0}, 205 {"PREFIX", 0}, 206 {"QUIT", 0}, 207 {"REFERENCES", 1}, 208 {"RESOURCES", 1}, 209 {"RESULTS", 0}, 210 {"SET", 3}, 211 {"SLEEP", 1}, |
200 {"STATS", 0}, | 212 {"STATS", 1}, |
201 {"STOP", 0}, 202 {"TABLES", 0}, 203 {"TEMPLATE", 1}, 204 {"TERMINATE", 0}, 205 {"THREADS", 3}, 206 {"TRACE", 1}, 207 {"TREE", 0}, 208 {"TYPE", 1}, 209 {"UNLOAD", 1}, 210 {NULL, 0} 211}; 212 | 213 {"STOP", 0}, 214 {"TABLES", 0}, 215 {"TEMPLATE", 1}, 216 {"TERMINATE", 0}, 217 {"THREADS", 3}, 218 {"TRACE", 1}, 219 {"TREE", 0}, 220 {"TYPE", 1}, 221 {"UNLOAD", 1}, 222 {NULL, 0} 223}; 224 |
225/* 226 * Help for all debugger commands. First argument is the number of lines 227 * of help to output for the command. 228 */ 229static const ACPI_DB_COMMAND_HELP AcpiGbl_DbCommandHelp[] = 230{ 231 {0, "\nGeneral-Purpose Commands:", "\n"}, 232 {1, " Allocations", "Display list of current memory allocations\n"}, 233 {2, " Dump <Address>|<Namepath>", "\n"}, 234 {0, " [Byte|Word|Dword|Qword]", "Display ACPI objects or memory\n"}, 235 {1, " EnableAcpi", "Enable ACPI (hardware) mode\n"}, 236 {1, " Handlers", "Info about global handlers\n"}, 237 {1, " Help [Command]", "This help screen or individual command\n"}, 238 {1, " History", "Display command history buffer\n"}, 239 {1, " Level <DebugLevel>] [console]", "Get/Set debug level for file or console\n"}, 240 {1, " Locks", "Current status of internal mutexes\n"}, 241 {1, " Osi [Install|Remove <name>]", "Display or modify global _OSI list\n"}, 242 {1, " Quit or Exit", "Exit this command\n"}, 243 {9, " Stats [Allocations|Memory|Misc|", "\n"}, 244 {1, " Objects|Sizes|Stack|Tables]", "Display namespace and memory statistics\n"}, 245 {1, " Allocations", "Display list of current memory allocations\n"}, 246 {1, " Memory", "Dump internal memory lists\n"}, 247 {1, " Misc", "Namespace search and mutex stats\n"}, 248 {1, " Objects", "Summary of namespace objects\n"}, 249 {1, " Sizes", "Sizes for each of the internal objects\n"}, 250 {1, " Stack", "Display CPU stack usage\n"}, 251 {1, " Tables", "Info about current ACPI table(s)\n"}, 252 {1, " Tables", "Display info about loaded ACPI tables\n"}, 253 {1, " Unload <Namepath>", "Unload an ACPI table via namespace object\n"}, 254 {1, " ! <CommandNumber>", "Execute command from history buffer\n"}, 255 {1, " !!", "Execute last command again\n"}, |
|
213 | 256 |
257 {0, "\nNamespace Access Commands:", "\n"}, 258 {1, " Businfo", "Display system bus info\n"}, 259 {1, " Disassemble <Method>", "Disassemble a control method\n"}, 260 {1, " Event <F|G> <Value>", "Generate AcpiEvent (Fixed/GPE)\n"}, 261 {1, " Find <AcpiName> (? is wildcard)", "Find ACPI name(s) with wildcards\n"}, 262 {1, " Gpe <GpeNum> <GpeBlock>", "Simulate a GPE\n"}, 263 {1, " Gpes", "Display info on all GPEs\n"}, 264 {1, " Integrity", "Validate namespace integrity\n"}, 265 {1, " Methods", "Display list of loaded control methods\n"}, 266 {1, " Namespace [Object] [Depth]", "Display loaded namespace tree/subtree\n"}, 267 {1, " Notify <Object> <Value>", "Send a notification on Object\n"}, 268 {1, " Objects <ObjectType>", "Display all objects of the given type\n"}, 269 {1, " Owner <OwnerId> [Depth]", "Display loaded namespace by object owner\n"}, 270 {1, " Predefined", "Check all predefined names\n"}, 271 {1, " Prefix [<NamePath>]", "Set or Get current execution prefix\n"}, 272 {1, " References <Addr>", "Find all references to object at addr\n"}, 273 {1, " Resources <DeviceName | *>", "Display Device resources (* = all devices)\n"}, 274 {1, " Set N <NamedObject> <Value>", "Set value for named integer\n"}, 275 {1, " Sleep <SleepState>", "Simulate sleep/wake sequence\n"}, 276 {1, " Template <Object>", "Format/dump a Buffer/ResourceTemplate\n"}, 277 {1, " Terminate", "Delete namespace and all internal objects\n"}, 278 {1, " Type <Object>", "Display object type\n"}, 279 280 {0, "\nControl Method Execution Commands:","\n"}, 281 {1, " Arguments (or Args)", "Display method arguments\n"}, 282 {1, " Breakpoint <AmlOffset>", "Set an AML execution breakpoint\n"}, 283 {1, " Call", "Run to next control method invocation\n"}, 284 {1, " Debug <Namepath> [Arguments]", "Single Step a control method\n"}, 285 {6, " Evaluate", "Synonym for Execute\n"}, 286 {5, " Execute <Namepath> [Arguments]", "Execute control method\n"}, 287 {1, " Hex Integer", "Integer method argument\n"}, 288 {1, " \"Ascii String\"", "String method argument\n"}, 289 {1, " (Byte List)", "Buffer method argument\n"}, 290 {1, " [Package Element List]", "Package method argument\n"}, 291 {1, " Go", "Allow method to run to completion\n"}, 292 {1, " Information", "Display info about the current method\n"}, 293 {1, " Into", "Step into (not over) a method call\n"}, 294 {1, " List [# of Aml Opcodes]", "Display method ASL statements\n"}, 295 {1, " Locals", "Display method local variables\n"}, 296 {1, " Results", "Display method result stack\n"}, 297 {1, " Set <A|L> <#> <Value>", "Set method data (Arguments/Locals)\n"}, 298 {1, " Stop", "Terminate control method\n"}, 299 {1, " Thread <Threads><Loops><NamePath>", "Spawn threads to execute method(s)\n"}, 300 {1, " Trace <method name>", "Trace method execution\n"}, 301 {1, " Tree", "Display control method calling tree\n"}, 302 {1, " <Enter>", "Single step next AML opcode (over calls)\n"}, 303 304 {0, "\nFile I/O Commands:", "\n"}, 305 {1, " Close", "Close debug output file\n"}, 306 {1, " Load <Input Filename>", "Load ACPI table from a file\n"}, 307 {1, " Open <Output Filename>", "Open a file for debug output\n"}, 308 {0, NULL, NULL} 309}; 310 311 |
|
214/******************************************************************************* 215 * | 312/******************************************************************************* 313 * |
314 * FUNCTION: AcpiDbMatchCommandHelp 315 * 316 * PARAMETERS: Command - Command string to match 317 * Help - Help table entry to attempt match 318 * 319 * RETURN: TRUE if command matched, FALSE otherwise 320 * 321 * DESCRIPTION: Attempt to match a command in the help table in order to 322 * print help information for a single command. 323 * 324 ******************************************************************************/ 325 326static BOOLEAN 327AcpiDbMatchCommandHelp ( 328 char *Command, 329 const ACPI_DB_COMMAND_HELP *Help) 330{ 331 char *Invocation = Help->Invocation; 332 UINT32 LineCount; 333 334 335 /* Valid commands in the help table begin with a couple of spaces */ 336 337 if (*Invocation != ' ') 338 { 339 return (FALSE); 340 } 341 342 while (*Invocation == ' ') 343 { 344 Invocation++; 345 } 346 347 /* Match command name (full command or substring) */ 348 349 while ((*Command) && (*Invocation) && (*Invocation != ' ')) 350 { 351 if (ACPI_TOLOWER (*Command) != ACPI_TOLOWER (*Invocation)) 352 { 353 return (FALSE); 354 } 355 356 Invocation++; 357 Command++; 358 } 359 360 /* Print the appropriate number of help lines */ 361 362 LineCount = Help->LineCount; 363 while (LineCount) 364 { 365 AcpiOsPrintf ("%-38s : %s", Help->Invocation, Help->Description); 366 Help++; 367 LineCount--; 368 } 369 370 return (TRUE); 371} 372 373 374/******************************************************************************* 375 * 376 * FUNCTION: AcpiDbDisplayCommandInfo 377 * 378 * PARAMETERS: Command - Command string to match 379 * DisplayAll - Display all matching commands, or just 380 * the first one (substring match) 381 * 382 * RETURN: None 383 * 384 * DESCRIPTION: Display help information for a Debugger command. 385 * 386 ******************************************************************************/ 387 388static void 389AcpiDbDisplayCommandInfo ( 390 char *Command, 391 BOOLEAN DisplayAll) 392{ 393 const ACPI_DB_COMMAND_HELP *Next; 394 BOOLEAN Matched; 395 396 397 Next = AcpiGbl_DbCommandHelp; 398 while (Next->Invocation) 399 { 400 Matched = AcpiDbMatchCommandHelp (Command, Next); 401 if (!DisplayAll && Matched) 402 { 403 return; 404 } 405 406 Next++; 407 } 408} 409 410 411/******************************************************************************* 412 * |
|
216 * FUNCTION: AcpiDbDisplayHelp 217 * | 413 * FUNCTION: AcpiDbDisplayHelp 414 * |
218 * PARAMETERS: None | 415 * PARAMETERS: Command - Optional command string to display help. 416 * if not specified, all debugger command 417 * help strings are displayed |
219 * 220 * RETURN: None 221 * | 418 * 419 * RETURN: None 420 * |
222 * DESCRIPTION: Print a usage message. | 421 * DESCRIPTION: Display help for a single debugger command, or all of them. |
223 * 224 ******************************************************************************/ 225 226static void 227AcpiDbDisplayHelp ( | 422 * 423 ******************************************************************************/ 424 425static void 426AcpiDbDisplayHelp ( |
228 void) | 427 char *Command) |
229{ | 428{ |
429 const ACPI_DB_COMMAND_HELP *Next = AcpiGbl_DbCommandHelp; |
|
230 | 430 |
231 AcpiOsPrintf ("\nGeneral-Purpose Commands:\n"); 232 AcpiOsPrintf (" Allocations Display list of current memory allocations\n"); 233 AcpiOsPrintf (" Dump <Address>|<Namepath>\n"); 234 AcpiOsPrintf (" [Byte|Word|Dword|Qword] Display ACPI objects or memory\n"); 235 AcpiOsPrintf (" EnableAcpi Enable ACPI (hardware) mode\n"); 236 AcpiOsPrintf (" Handlers Info about global handlers\n"); 237 AcpiOsPrintf (" Help This help screen\n"); 238 AcpiOsPrintf (" History Display command history buffer\n"); 239 AcpiOsPrintf (" Level [<DebugLevel>] [console] Get/Set debug level for file or console\n"); 240 AcpiOsPrintf (" Locks Current status of internal mutexes\n"); 241 AcpiOsPrintf (" Osi [Install|Remove <name>] Display or modify global _OSI list\n"); 242 AcpiOsPrintf (" Quit or Exit Exit this command\n"); 243 AcpiOsPrintf (" Stats [Allocations|Memory|Misc|\n"); 244 AcpiOsPrintf (" Objects|Sizes|Stack|Tables] Display namespace and memory statistics\n"); 245 AcpiOsPrintf (" Allocations Display list of current memory allocations\n"); 246 AcpiOsPrintf (" Memory Dump internal memory lists\n"); 247 AcpiOsPrintf (" Misc Namespace search and mutex stats\n"); 248 AcpiOsPrintf (" Objects Summary of namespace objects\n"); 249 AcpiOsPrintf (" Sizes Sizes for each of the internal objects\n"); 250 AcpiOsPrintf (" Stack Display CPU stack usage\n"); 251 AcpiOsPrintf (" Tables Info about current ACPI table(s)\n"); 252 AcpiOsPrintf (" Tables Display info about loaded ACPI tables\n"); 253 AcpiOsPrintf (" Unload <Namepath> Unload an ACPI table via namespace object\n"); 254 AcpiOsPrintf (" ! <CommandNumber> Execute command from history buffer\n"); 255 AcpiOsPrintf (" !! Execute last command again\n"); | |
256 | 431 |
257 AcpiOsPrintf ("\nNamespace Access Commands:\n"); 258 AcpiOsPrintf (" Businfo Display system bus info\n"); 259 AcpiOsPrintf (" Disassemble <Method> Disassemble a control method\n"); 260 AcpiOsPrintf (" Event <F|G> <Value> Generate AcpiEvent (Fixed/GPE)\n"); 261 AcpiOsPrintf (" Find <AcpiName> (? is wildcard) Find ACPI name(s) with wildcards\n"); 262 AcpiOsPrintf (" Gpe <GpeNum> <GpeBlock> Simulate a GPE\n"); 263 AcpiOsPrintf (" Gpes Display info on all GPEs\n"); 264 AcpiOsPrintf (" Integrity Validate namespace integrity\n"); 265 AcpiOsPrintf (" Methods Display list of loaded control methods\n"); 266 AcpiOsPrintf (" Namespace [Object] [Depth] Display loaded namespace tree/subtree\n"); 267 AcpiOsPrintf (" Notify <Object> <Value> Send a notification on Object\n"); 268 AcpiOsPrintf (" Objects <ObjectType> Display all objects of the given type\n"); 269 AcpiOsPrintf (" Owner <OwnerId> [Depth] Display loaded namespace by object owner\n"); 270 AcpiOsPrintf (" Predefined Check all predefined names\n"); 271 AcpiOsPrintf (" Prefix [<NamePath>] Set or Get current execution prefix\n"); 272 AcpiOsPrintf (" References <Addr> Find all references to object at addr\n"); 273 AcpiOsPrintf (" Resources <DeviceName | *> Display Device resources (* = all devices)\n"); 274 AcpiOsPrintf (" Set N <NamedObject> <Value> Set value for named integer\n"); 275 AcpiOsPrintf (" Sleep <SleepState> Simulate sleep/wake sequence\n"); 276 AcpiOsPrintf (" Template <Object> Format/dump a Buffer/ResourceTemplate\n"); 277 AcpiOsPrintf (" Terminate Delete namespace and all internal objects\n"); 278 AcpiOsPrintf (" Type <Object> Display object type\n"); | 432 if (!Command) 433 { 434 /* No argument to help, display help for all commands */ |
279 | 435 |
280 AcpiOsPrintf ("\nControl Method Execution Commands:\n"); 281 AcpiOsPrintf (" Arguments (or Args) Display method arguments\n"); 282 AcpiOsPrintf (" Breakpoint <AmlOffset> Set an AML execution breakpoint\n"); 283 AcpiOsPrintf (" Call Run to next control method invocation\n"); 284 AcpiOsPrintf (" Debug <Namepath> [Arguments] Single Step a control method\n"); 285 AcpiOsPrintf (" Execute <Namepath> [Arguments] Execute control method\n"); 286 AcpiOsPrintf (" Hex Integer Integer method argument\n"); 287 AcpiOsPrintf (" \"Ascii String\" String method argument\n"); 288 AcpiOsPrintf (" (Byte List) Buffer method argument\n"); 289 AcpiOsPrintf (" [Package Element List] Package method argument\n"); 290 AcpiOsPrintf (" Go Allow method to run to completion\n"); 291 AcpiOsPrintf (" Information Display info about the current method\n"); 292 AcpiOsPrintf (" Into Step into (not over) a method call\n"); 293 AcpiOsPrintf (" List [# of Aml Opcodes] Display method ASL statements\n"); 294 AcpiOsPrintf (" Locals Display method local variables\n"); 295 AcpiOsPrintf (" Results Display method result stack\n"); 296 AcpiOsPrintf (" Set <A|L> <#> <Value> Set method data (Arguments/Locals)\n"); 297 AcpiOsPrintf (" Stop Terminate control method\n"); 298 AcpiOsPrintf (" Thread <Threads><Loops><NamePath> Spawn threads to execute method(s)\n"); 299 AcpiOsPrintf (" Trace <method name> Trace method execution\n"); 300 AcpiOsPrintf (" Tree Display control method calling tree\n"); 301 AcpiOsPrintf (" <Enter> Single step next AML opcode (over calls)\n"); | 436 while (Next->Invocation) 437 { 438 AcpiOsPrintf ("%-38s%s", Next->Invocation, Next->Description); 439 Next++; 440 } 441 } 442 else 443 { 444 /* Display help for all commands that match the subtring */ |
302 | 445 |
303 AcpiOsPrintf ("\nFile I/O Commands:\n"); 304 AcpiOsPrintf (" Close Close debug output file\n"); 305 AcpiOsPrintf (" Load <Input Filename> Load ACPI table from a file\n"); 306 AcpiOsPrintf (" Open <Output Filename> Open a file for debug output\n"); | 446 AcpiDbDisplayCommandInfo (Command, TRUE); 447 } |
307} 308 309 310/******************************************************************************* 311 * 312 * FUNCTION: AcpiDbGetNextToken 313 * 314 * PARAMETERS: String - Command buffer --- 281 unchanged lines hidden (view full) --- 596 /* Verify that we have the minimum number of params */ 597 598 if (ParamCount < AcpiGbl_DbCommands[CommandIndex].MinArgs) 599 { 600 AcpiOsPrintf ("%u parameters entered, [%s] requires %u parameters\n", 601 ParamCount, AcpiGbl_DbCommands[CommandIndex].Name, 602 AcpiGbl_DbCommands[CommandIndex].MinArgs); 603 | 448} 449 450 451/******************************************************************************* 452 * 453 * FUNCTION: AcpiDbGetNextToken 454 * 455 * PARAMETERS: String - Command buffer --- 281 unchanged lines hidden (view full) --- 737 /* Verify that we have the minimum number of params */ 738 739 if (ParamCount < AcpiGbl_DbCommands[CommandIndex].MinArgs) 740 { 741 AcpiOsPrintf ("%u parameters entered, [%s] requires %u parameters\n", 742 ParamCount, AcpiGbl_DbCommands[CommandIndex].Name, 743 AcpiGbl_DbCommands[CommandIndex].MinArgs); 744 |
745 AcpiDbDisplayCommandInfo (AcpiGbl_DbCommands[CommandIndex].Name, FALSE); |
|
604 return (AE_CTRL_TRUE); 605 } 606 607 /* Decode and dispatch the command */ 608 609 switch (CommandIndex) 610 { 611 case CMD_NULL: --- 60 unchanged lines hidden (view full) --- 672 } 673#endif /* !ACPI_REDUCED_HARDWARE */ 674 break; 675 676 case CMD_EVENT: 677 AcpiOsPrintf ("Event command not implemented\n"); 678 break; 679 | 746 return (AE_CTRL_TRUE); 747 } 748 749 /* Decode and dispatch the command */ 750 751 switch (CommandIndex) 752 { 753 case CMD_NULL: --- 60 unchanged lines hidden (view full) --- 814 } 815#endif /* !ACPI_REDUCED_HARDWARE */ 816 break; 817 818 case CMD_EVENT: 819 AcpiOsPrintf ("Event command not implemented\n"); 820 break; 821 |
822 case CMD_EVALUATE: |
|
680 case CMD_EXECUTE: 681 AcpiDbExecute (AcpiGbl_DbArgs[1], 682 &AcpiGbl_DbArgs[2], &AcpiGbl_DbArgTypes[2], EX_NO_SINGLE_STEP); 683 break; 684 685 case CMD_FIND: 686 Status = AcpiDbFindNameInNamespace (AcpiGbl_DbArgs[1]); 687 break; --- 11 unchanged lines hidden (view full) --- 699 break; 700 701 case CMD_HANDLERS: 702 AcpiDbDisplayHandlers (); 703 break; 704 705 case CMD_HELP: 706 case CMD_HELP2: | 823 case CMD_EXECUTE: 824 AcpiDbExecute (AcpiGbl_DbArgs[1], 825 &AcpiGbl_DbArgs[2], &AcpiGbl_DbArgTypes[2], EX_NO_SINGLE_STEP); 826 break; 827 828 case CMD_FIND: 829 Status = AcpiDbFindNameInNamespace (AcpiGbl_DbArgs[1]); 830 break; --- 11 unchanged lines hidden (view full) --- 842 break; 843 844 case CMD_HANDLERS: 845 AcpiDbDisplayHandlers (); 846 break; 847 848 case CMD_HELP: 849 case CMD_HELP2: |
707 AcpiDbDisplayHelp (); | 850 AcpiDbDisplayHelp (AcpiGbl_DbArgs[1]); |
708 break; 709 710 case CMD_HISTORY: 711 AcpiDbDisplayHistory (); 712 break; 713 714 case CMD_HISTORY_EXE: 715 CommandLine = AcpiDbGetFromHistory (AcpiGbl_DbArgs[1]); --- 376 unchanged lines hidden --- | 851 break; 852 853 case CMD_HISTORY: 854 AcpiDbDisplayHistory (); 855 break; 856 857 case CMD_HISTORY_EXE: 858 CommandLine = AcpiDbGetFromHistory (AcpiGbl_DbArgs[1]); --- 376 unchanged lines hidden --- |