Changeset 073c9e6 in mainline


Ignore:
Timestamp:
2008-09-18T20:57:01Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
abf3564
Parents:
4e5aa02
Message:

Rename kconsole's 'ipc_task' command to 'ipc'.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/cmd.c

    r4e5aa02 r073c9e6  
    399399};
    400400
    401 /* Data and methods for 'ipc_task' command */
    402 static int cmd_ipc_task(cmd_arg_t *argv);
    403 static cmd_arg_t ipc_task_argv = {
     401/* Data and methods for 'ipc' command */
     402static int cmd_ipc(cmd_arg_t *argv);
     403static cmd_arg_t ipc_argv = {
    404404        .type = ARG_TYPE_INT,
    405405};
    406 static cmd_info_t ipc_task_info = {
    407         .name = "ipc_task",
    408         .description = "ipc_task <taskid> Show IPC information of given task.",
    409         .func = cmd_ipc_task,
     406static cmd_info_t ipc_info = {
     407        .name = "ipc",
     408        .description = "ipc <taskid> Show IPC information of given task.",
     409        .func = cmd_ipc,
    410410        .argc = 1,
    411         .argv = &ipc_task_argv
     411        .argv = &ipc_argv
    412412};
    413413
     
    462462        &halt_info,
    463463        &help_info,
    464         &ipc_task_info,
     464        &ipc_info,
    465465        &set4_info,
    466466        &slabs_info,
     
    938938 * return Always 1
    939939 */
    940 int cmd_ipc_task(cmd_arg_t * argv) {
     940int cmd_ipc(cmd_arg_t * argv) {
    941941        ipc_print_task(argv[0].intval);
    942942        return 1;
Note: See TracChangeset for help on using the changeset viewer.