- Timestamp:
- 11/17/14 14:42:57 (9 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 7a2c30f
- Parents:
- e02d5dd9
- git-author:
- Sebastian Huber <sebastian.huber@…> (11/17/14 14:42:57)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (11/20/14 09:30:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/shell/rtems.t
re02d5dd9 rbac3d6d 12 12 @itemize @bullet 13 13 14 @item @code{ halt} - Shutdown the system14 @item @code{shutdown} - Shutdown the system 15 15 @item @code{cpuuse} - print or reset per thread cpu usage 16 16 @item @code{stackuse} - print per thread stack usage … … 43 43 @c 44 44 @page 45 @subsection halt- Shutdown the system46 47 @pgindex halt48 49 @subheading SYNOPSYS: 50 51 @example 52 halt 45 @subsection shutdown - Shutdown the system 46 47 @pgindex shutdown 48 49 @subheading SYNOPSYS: 50 51 @example 52 shutdown 53 53 @end example 54 54 … … 66 66 @subheading EXAMPLES: 67 67 68 The following is an example of how to use @code{halt}: 69 70 @example 71 SHLL [/] $ halt 68 The following is an example of how to use @code{shutdown}: 69 70 @example 71 SHLL [/] $ shutdown 72 System shutting down at user request 72 73 @end example 73 74 … … 77 78 @subheading CONFIGURATION: 78 79 79 @findex CONFIGURE_SHELL_NO_COMMAND_HALT 80 @findex CONFIGURE_SHELL_COMMAND_HALT 81 82 This command is included in the default shell command set. 83 When building a custom command set, define 84 @code{CONFIGURE_SHELL_COMMAND_HALT} to have this 85 command included. 86 87 This command can be excluded from the shell command set by 88 defining @code{CONFIGURE_SHELL_NO_COMMAND_HALT} when all 89 shell commands have been configured. 90 91 @subheading PROGRAMMING INFORMATION: 92 93 @findex rtems_shell_rtems_main_halt 94 95 The @code{halt} is implemented by a C language function 96 which has the following prototype: 97 98 @example 99 int rtems_shell_rtems_main_halt( 100 int argc, 101 char **argv 102 ); 103 @end example 104 105 The configuration structure for the @code{halt} has the 106 following prototype: 107 108 @example 109 extern rtems_shell_cmd_t rtems_shell_HALT_Command; 80 @findex CONFIGURE_SHELL_NO_COMMAND_SHUTDOWN 81 @findex CONFIGURE_SHELL_COMMAND_SHUTDOWN 82 83 This command is included in the default shell command set. 84 When building a custom command set, define 85 @code{CONFIGURE_SHELL_COMMAND_SHUTDOWN} to have this 86 command included. 87 88 This command can be excluded from the shell command set by 89 defining @code{CONFIGURE_SHELL_NO_COMMAND_SHUTDOWN} when all 90 shell commands have been configured. 91 92 @subheading PROGRAMMING INFORMATION: 93 94 The configuration structure for the @code{shutdown} has the 95 following prototype: 96 97 @example 98 extern rtems_shell_cmd_t rtems_shell_SHUTDOWN_Command; 110 99 @end example 111 100
Note: See TracChangeset
for help on using the changeset viewer.