Changeset 55ab0f1 in mainline for generic/src/console/cmd.c
- Timestamp:
- 2006-02-04T18:15:13Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 04225a7
- Parents:
- 428aabf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/console/cmd.c
r428aabf r55ab0f1 53 53 #include <mm/slab.h> 54 54 #include <proc/scheduler.h> 55 #include <proc/thread.h> 55 56 56 57 /** Data and methods for 'help' command. */ … … 245 246 }; 246 247 248 static int cmd_threads(cmd_arg_t *argv); 249 static cmd_info_t threads_info = { 250 .name = "threads", 251 .description = "List all threads", 252 .func = cmd_threads, 253 .argc = 0 254 }; 255 247 256 248 257 static int cmd_sched(cmd_arg_t *argv); … … 321 330 &symaddr_info, 322 331 &sched_info, 332 &threads_info, 323 333 &tlb_info, 324 334 &version_info, … … 598 608 } 599 609 610 611 /** Command for listings Thread information 612 * 613 * @param argv Ignores 614 * 615 * @return Always 1 616 */ 617 int cmd_threads(cmd_arg_t * argv) { 618 thread_print_list(); 619 return 1; 620 } 621 600 622 /** Command for listings Thread information 601 623 *
Note:
See TracChangeset
for help on using the changeset viewer.