diff options
Diffstat (limited to 'c/src/libmisc/monitor/mon-monitor.c')
-rw-r--r-- | c/src/libmisc/monitor/mon-monitor.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/c/src/libmisc/monitor/mon-monitor.c b/c/src/libmisc/monitor/mon-monitor.c index c1b5794430..c63ae52be2 100644 --- a/c/src/libmisc/monitor/mon-monitor.c +++ b/c/src/libmisc/monitor/mon-monitor.c @@ -69,21 +69,21 @@ rtems_monitor_command_entry_t rtems_monitor_commands[] = { "Show the system configuration.", 0, rtems_monitor_object_cmd, - RTEMS_MONITOR_OBJECT_CONFIG, + (rtems_monitor_command_arg_t) RTEMS_MONITOR_OBJECT_CONFIG, &rtems_monitor_commands[1], }, { "itask", "List init tasks for the system", 0, rtems_monitor_object_cmd, - RTEMS_MONITOR_OBJECT_INIT_TASK, + (rtems_monitor_command_arg_t) RTEMS_MONITOR_OBJECT_INIT_TASK, &rtems_monitor_commands[2], }, { "mpci", "Show the MPCI system configuration, if configured.", 0, rtems_monitor_object_cmd, - RTEMS_MONITOR_OBJECT_MPCI, + (rtems_monitor_command_arg_t) RTEMS_MONITOR_OBJECT_MPCI, &rtems_monitor_commands[3], }, { "pause", @@ -127,7 +127,7 @@ rtems_monitor_command_entry_t rtems_monitor_commands[] = { #if defined(RTEMS_CPU_HAS_16_BIT_ADDRESSES) 0, /* XXX find a way to fix the compile time error on h8 */ #else - (unsigned32) &rtems_monitor_symbols, + (rtems_monitor_command_arg_t) &rtems_monitor_symbols, #endif &rtems_monitor_commands[8], }, @@ -137,7 +137,7 @@ rtems_monitor_command_entry_t rtems_monitor_commands[] = { " extension [id [id ...] ]", 0, rtems_monitor_object_cmd, - RTEMS_MONITOR_OBJECT_EXTENSION, + (rtems_monitor_command_arg_t) RTEMS_MONITOR_OBJECT_EXTENSION, &rtems_monitor_commands[9], }, { "task", @@ -146,7 +146,7 @@ rtems_monitor_command_entry_t rtems_monitor_commands[] = { " task [id [id ...] ]", 0, rtems_monitor_object_cmd, - RTEMS_MONITOR_OBJECT_TASK, + (rtems_monitor_command_arg_t) RTEMS_MONITOR_OBJECT_TASK, &rtems_monitor_commands[10], }, { "queue", @@ -155,7 +155,7 @@ rtems_monitor_command_entry_t rtems_monitor_commands[] = { " queue [id [id ... ] ]", 0, rtems_monitor_object_cmd, - RTEMS_MONITOR_OBJECT_QUEUE, + (rtems_monitor_command_arg_t) RTEMS_MONITOR_OBJECT_QUEUE, &rtems_monitor_commands[11], }, { "object", @@ -165,7 +165,7 @@ rtems_monitor_command_entry_t rtems_monitor_commands[] = { " object [id [id ...] ]", 0, rtems_monitor_object_cmd, - RTEMS_MONITOR_OBJECT_INVALID, + (rtems_monitor_command_arg_t) RTEMS_MONITOR_OBJECT_INVALID, &rtems_monitor_commands[12], }, { "driver", @@ -173,14 +173,14 @@ rtems_monitor_command_entry_t rtems_monitor_commands[] = { " driver [ major [ major ... ] ]", 0, rtems_monitor_object_cmd, - RTEMS_MONITOR_OBJECT_DRIVER, + (rtems_monitor_command_arg_t) RTEMS_MONITOR_OBJECT_DRIVER, &rtems_monitor_commands[13], }, { "dname", "Displays information about named drivers.\n", 0, rtems_monitor_object_cmd, - RTEMS_MONITOR_OBJECT_DNAME, + (rtems_monitor_command_arg_t) RTEMS_MONITOR_OBJECT_DNAME, &rtems_monitor_commands[14], }, { "exit", @@ -189,7 +189,7 @@ rtems_monitor_command_entry_t rtems_monitor_commands[] = { " exit [status]", 0, rtems_monitor_fatal_cmd, - RTEMS_SUCCESSFUL, + (rtems_monitor_command_arg_t) RTEMS_SUCCESSFUL, &rtems_monitor_commands[15], }, { "fatal", @@ -197,14 +197,14 @@ rtems_monitor_command_entry_t rtems_monitor_commands[] = { " fatal [status]", 0, rtems_monitor_fatal_cmd, - RTEMS_TASK_EXITTED, /* exit value */ + (rtems_monitor_command_arg_t) RTEMS_TASK_EXITTED, /* exit value */ &rtems_monitor_commands[16], }, { "quit", "Alias for 'exit'\n", 0, rtems_monitor_fatal_cmd, - RTEMS_SUCCESSFUL, /* exit value */ + (rtems_monitor_command_arg_t) RTEMS_SUCCESSFUL, /* exit value */ &rtems_monitor_commands[17], }, { "help", @@ -216,7 +216,7 @@ rtems_monitor_command_entry_t rtems_monitor_commands[] = { #if defined(RTEMS_CPU_HAS_16_BIT_ADDRESSES) 0, /* XXX find a way to fix the compile time error on h8 */ #else - (unsigned32) rtems_monitor_commands, + (rtems_monitor_command_arg_t) rtems_monitor_commands, #endif &rtems_monitor_commands[18], }, |