Changeset c4e4507 in mainline for generic/src/console/cmd.c
- Timestamp:
- 2006-06-04T17:17:29Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2cb5e64
- Parents:
- fe19611
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/console/cmd.c
rfe19611 rc4e4507 59 59 #include <proc/thread.h> 60 60 #include <proc/task.h> 61 #include <ipc/ipc.h> 61 62 62 63 /** Data and methods for 'help' command. */ … … 301 302 }; 302 303 304 /** Data and methods for 'ipc_task' command */ 305 static int cmd_ipc_task(cmd_arg_t *argv); 306 static cmd_arg_t ipc_task_argv = { 307 .type = ARG_TYPE_INT, 308 }; 309 static cmd_info_t ipc_task_info = { 310 .name = "ipc_task", 311 .description = "Show memory zone structure.", 312 .func = cmd_ipc_task, 313 .argc = 1, 314 .argv = &ipc_task_argv 315 }; 316 303 317 /** Data and methods for 'zone' command */ 304 318 static int cmd_zone(cmd_arg_t *argv); … … 348 362 &halt_info, 349 363 &help_info, 364 &ipc_task_info, 350 365 &set4_info, 351 366 &slabs_info, … … 687 702 } 688 703 704 /** Command for printing task ipc details 705 * 706 * @param argv Integer argument from cmdline expected 707 * 708 * return Always 1 709 */ 710 int cmd_ipc_task(cmd_arg_t * argv) { 711 ipc_print_task(argv[0].intval); 712 return 1; 713 } 714 715 689 716 /** Command for listing processors. 690 717 *
Note:
See TracChangeset
for help on using the changeset viewer.