Changeset 37c57f2 in mainline for generic/src/console/cmd.c
- Timestamp:
- 2006-03-16T20:56:22Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ff14c520
- Parents:
- 6a22fcb
- File:
-
- 1 edited
-
generic/src/console/cmd.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
generic/src/console/cmd.c
r6a22fcb r37c57f2 54 54 #include <proc/scheduler.h> 55 55 #include <proc/thread.h> 56 #include <proc/task.h> 56 57 57 58 /** Data and methods for 'help' command. */ … … 254 255 }; 255 256 257 static int cmd_tasks(cmd_arg_t *argv); 258 static cmd_info_t tasks_info = { 259 .name = "tasks", 260 .description = "List all tasks", 261 .func = cmd_tasks, 262 .argc = 0 263 }; 264 256 265 257 266 static int cmd_sched(cmd_arg_t *argv); … … 339 348 &sched_info, 340 349 &threads_info, 350 &tasks_info, 341 351 &tlb_info, 342 352 &version_info, … … 629 639 } 630 640 641 /** Command for listings Task information 642 * 643 * @param argv Ignores 644 * 645 * @return Always 1 646 */ 647 int cmd_tasks(cmd_arg_t * argv) { 648 task_print_list(); 649 return 1; 650 } 651 631 652 /** Command for listings Thread information 632 653 *
Note:
See TracChangeset
for help on using the changeset viewer.
