Subversion Repositories HelenOS

Rev

Rev 3065 | Rev 3761 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3065 Rev 3451
Line 396... Line 396...
396
    .description = "List of memory zones.",
396
    .description = "List of memory zones.",
397
    .func = cmd_zones,
397
    .func = cmd_zones,
398
    .argc = 0
398
    .argc = 0
399
};
399
};
400
 
400
 
401
/* Data and methods for 'ipc_task' command */
401
/* Data and methods for 'ipc' command */
402
static int cmd_ipc_task(cmd_arg_t *argv);
402
static int cmd_ipc(cmd_arg_t *argv);
403
static cmd_arg_t ipc_task_argv = {
403
static cmd_arg_t ipc_argv = {
404
    .type = ARG_TYPE_INT,
404
    .type = ARG_TYPE_INT,
405
};
405
};
406
static cmd_info_t ipc_task_info = {
406
static cmd_info_t ipc_info = {
407
    .name = "ipc_task",
407
    .name = "ipc",
408
    .description = "ipc_task <taskid> Show IPC information of given task.",
408
    .description = "ipc <taskid> Show IPC information of given task.",
409
    .func = cmd_ipc_task,
409
    .func = cmd_ipc,
410
    .argc = 1,
410
    .argc = 1,
411
    .argv = &ipc_task_argv
411
    .argv = &ipc_argv
412
};
412
};
413
 
413
 
414
/* Data and methods for 'zone' command */
414
/* Data and methods for 'zone' command */
415
static int cmd_zone(cmd_arg_t *argv);
415
static int cmd_zone(cmd_arg_t *argv);
416
static cmd_arg_t zone_argv = {
416
static cmd_arg_t zone_argv = {
Line 459... Line 459...
459
    &exit_info,
459
    &exit_info,
460
    &reboot_info,
460
    &reboot_info,
461
    &uptime_info,
461
    &uptime_info,
462
    &halt_info,
462
    &halt_info,
463
    &help_info,
463
    &help_info,
464
    &ipc_task_info,
464
    &ipc_info,
465
    &set4_info,
465
    &set4_info,
466
    &slabs_info,
466
    &slabs_info,
467
    &symaddr_info,
467
    &symaddr_info,
468
    &sched_info,
468
    &sched_info,
469
    &threads_info,
469
    &threads_info,
Line 935... Line 935...
935
 *
935
 *
936
 * @param argv Integer argument from cmdline expected
936
 * @param argv Integer argument from cmdline expected
937
 *
937
 *
938
 * return Always 1
938
 * return Always 1
939
 */
939
 */
940
int cmd_ipc_task(cmd_arg_t * argv) {
940
int cmd_ipc(cmd_arg_t * argv) {
941
    ipc_print_task(argv[0].intval);
941
    ipc_print_task(argv[0].intval);
942
    return 1;
942
    return 1;
943
}
943
}
944
 
944
 
945
 
945