source: rtems/cpukit/libmisc/shell/shellconfig.h @ a7817010

4.115
Last change on this file since a7817010 was a7817010, checked in by Jennifer Averett <jennifer.averett@…>, on 09/29/14 at 15:21:00

libmisc: Add top to shell.

  • Property mode set to 100644
File size: 17.5 KB
Line 
1/**
2 * @file rtems/shellconfig.h
3 *
4 * RTEMS Shell Command Set Configuration
5 */
6
7/*
8 *  COPYRIGHT (c) 1989-2012.
9 *  On-Line Applications Research Corporation (OAR).
10 *
11 *  The license and distribution terms for this file may be
12 *  found in the file LICENSE in this distribution or at
13 *  http://www.rtems.org/license/LICENSE.
14 */
15
16#ifndef _RTEMS_SHELL_CONFIG_h
17#define _RTEMS_SHELL_CONFIG_h
18
19#include <rtems/shell.h>
20
21/*
22 *  Externs for all command definition structures
23 */
24extern rtems_shell_cmd_t rtems_shell_HELP_Command;
25extern rtems_shell_cmd_t rtems_shell_ALIAS_Command;
26extern rtems_shell_cmd_t rtems_shell_TIME_Command;
27extern rtems_shell_cmd_t rtems_shell_LOGOFF_Command;
28extern rtems_shell_cmd_t rtems_shell_SETENV_Command;
29extern rtems_shell_cmd_t rtems_shell_GETENV_Command;
30extern rtems_shell_cmd_t rtems_shell_UNSETENV_Command;
31
32extern rtems_shell_cmd_t rtems_shell_MDUMP_Command;
33extern rtems_shell_cmd_t rtems_shell_WDUMP_Command;
34extern rtems_shell_cmd_t rtems_shell_LDUMP_Command;
35extern rtems_shell_cmd_t rtems_shell_MEDIT_Command;
36extern rtems_shell_cmd_t rtems_shell_MFILL_Command;
37extern rtems_shell_cmd_t rtems_shell_MMOVE_Command;
38
39extern rtems_shell_cmd_t rtems_shell_JOEL_Command;
40extern rtems_shell_cmd_t rtems_shell_DATE_Command;
41extern rtems_shell_cmd_t rtems_shell_ECHO_Command;
42extern rtems_shell_cmd_t rtems_shell_EDIT_Command;
43extern rtems_shell_cmd_t rtems_shell_SLEEP_Command;
44extern rtems_shell_cmd_t rtems_shell_ID_Command;
45extern rtems_shell_cmd_t rtems_shell_TTY_Command;
46extern rtems_shell_cmd_t rtems_shell_WHOAMI_Command;
47
48extern rtems_shell_cmd_t rtems_shell_CP_Command;
49extern rtems_shell_cmd_t rtems_shell_PWD_Command;
50extern rtems_shell_cmd_t rtems_shell_LS_Command;
51extern rtems_shell_cmd_t rtems_shell_CHDIR_Command;
52extern rtems_shell_cmd_t rtems_shell_MKDIR_Command;
53extern rtems_shell_cmd_t rtems_shell_RMDIR_Command;
54extern rtems_shell_cmd_t rtems_shell_CHROOT_Command;
55extern rtems_shell_cmd_t rtems_shell_CHMOD_Command;
56extern rtems_shell_cmd_t rtems_shell_CAT_Command;
57extern rtems_shell_cmd_t rtems_shell_MKRFS_Command;
58extern rtems_shell_cmd_t rtems_shell_MSDOSFMT_Command;
59extern rtems_shell_cmd_t rtems_shell_MSDOSFMT_Alias;
60extern rtems_shell_cmd_t rtems_shell_MV_Command;
61extern rtems_shell_cmd_t rtems_shell_RM_Command;
62extern rtems_shell_cmd_t rtems_shell_LN_Command;
63extern rtems_shell_cmd_t rtems_shell_MKNOD_Command;
64extern rtems_shell_cmd_t rtems_shell_UMASK_Command;
65extern rtems_shell_cmd_t rtems_shell_LSOF_Command;
66extern rtems_shell_cmd_t rtems_shell_MOUNT_Command;
67extern rtems_shell_cmd_t rtems_shell_UNMOUNT_Command;
68extern rtems_shell_cmd_t rtems_shell_BLKSYNC_Command;
69extern rtems_shell_cmd_t rtems_shell_BLKSTATS_Command;
70extern rtems_shell_cmd_t rtems_shell_FDISK_Command;
71extern rtems_shell_cmd_t rtems_shell_DD_Command;
72extern rtems_shell_cmd_t rtems_shell_HEXDUMP_Command;
73extern rtems_shell_cmd_t rtems_shell_DEBUGRFS_Command;
74extern rtems_shell_cmd_t rtems_shell_DF_Command;
75extern rtems_shell_cmd_t rtems_shell_MD5_Command;
76
77extern rtems_shell_cmd_t rtems_shell_RTC_Command;
78
79extern rtems_shell_cmd_t rtems_shell_HALT_Command;
80extern rtems_shell_cmd_t rtems_shell_CPUUSE_Command;
81extern rtems_shell_cmd_t rtems_shell_TOP_Command;
82extern rtems_shell_cmd_t rtems_shell_STACKUSE_Command;
83extern rtems_shell_cmd_t rtems_shell_PERIODUSE_Command;
84extern rtems_shell_cmd_t rtems_shell_WKSPACE_INFO_Command;
85extern rtems_shell_cmd_t rtems_shell_MALLOC_INFO_Command;
86#if RTEMS_NETWORKING
87  extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command;
88  extern rtems_shell_cmd_t rtems_shell_ROUTE_Command;
89  extern rtems_shell_cmd_t rtems_shell_NETSTATS_Command;
90  extern rtems_shell_cmd_t rtems_shell_PING_Command;
91#endif
92
93extern rtems_shell_cmd_t *rtems_shell_Initial_commands[];
94
95/*
96 *  Extern for alias commands
97 */
98extern rtems_shell_alias_t rtems_shell_DIR_Alias;
99extern rtems_shell_alias_t rtems_shell_CD_Alias;
100extern rtems_shell_alias_t rtems_shell_EXIT_Alias;
101
102extern rtems_shell_alias_t *rtems_shell_Initial_aliases[];
103
104/*
105 *  If we are configured to alias a command, then make sure the underlying
106 *  command is configured.
107 */
108
109#if !defined(CONFIGURE_SHELL_COMMANDS_ALL)
110  #if defined(CONFIGURE_SHELL_COMMANDS_DIR) && \
111      !defined(CONFIGURE_SHELL_COMMANDS_LS)
112    #define CONFIGURE_SHELL_COMMAND_LS
113  #endif
114
115  #if defined(CONFIGURE_SHELL_COMMANDS_CD) && \
116      !defined(CONFIGURE_SHELL_COMMANDS_CHDIR)
117    #define CONFIGURE_SHELL_COMMAND_CHDIR
118  #endif
119
120  #if defined(CONFIGURE_SHELL_COMMANDS_EXIT) && \
121      !defined(CONFIGURE_SHELL_COMMANDS_LOGOFF)
122    #define CONFIGURE_SHELL_COMMAND_LOGOFF
123  #endif
124#endif
125
126#if defined(CONFIGURE_SHELL_COMMANDS_INIT)
127  rtems_shell_alias_t *rtems_shell_Initial_aliases[] = {
128    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
129         !defined(CONFIGURE_SHELL_NO_COMMAND_DIR)) || \
130        defined(CONFIGURE_SHELL_COMMAND_DIR)
131      &rtems_shell_DIR_Alias,
132    #endif
133    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
134         !defined(CONFIGURE_SHELL_NO_COMMAND_CD)) || \
135        defined(CONFIGURE_SHELL_COMMAND_CD)
136      &rtems_shell_CD_Alias,
137    #endif
138    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
139         !defined(CONFIGURE_SHELL_NO_COMMAND_EXIT)) || \
140        defined(CONFIGURE_SHELL_COMMAND_EXIT)
141      &rtems_shell_EXIT_Alias,
142    #endif
143
144    /*
145     *  User defined shell aliases
146     */
147    #if defined(CONFIGURE_SHELL_USER_ALIASES)
148      CONFIGURE_SHELL_USER_ALIASES,
149    #endif
150    NULL
151  };
152
153  rtems_shell_cmd_t *rtems_shell_Initial_commands[] = {
154    /*
155     *  General comamnds that should be present
156     */
157    &rtems_shell_HELP_Command,
158    &rtems_shell_ALIAS_Command,
159    &rtems_shell_TIME_Command,
160
161    /*
162     *  Common commands that can be optional
163     */
164    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
165         !defined(CONFIGURE_SHELL_NO_COMMAND_JOEL)) || \
166        defined(CONFIGURE_SHELL_COMMAND_JOEL)
167      &rtems_shell_JOEL_Command,
168    #endif
169    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
170         !defined(CONFIGURE_SHELL_NO_COMMAND_DATE)) || \
171        defined(CONFIGURE_SHELL_COMMAND_DATE)
172      &rtems_shell_DATE_Command,
173    #endif
174    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
175         !defined(CONFIGURE_SHELL_NO_COMMAND_ECHO)) || \
176        defined(CONFIGURE_SHELL_COMMAND_ECHO)
177      &rtems_shell_ECHO_Command,
178    #endif
179    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
180         !defined(CONFIGURE_SHELL_NO_COMMAND_EDIT)) || \
181        defined(CONFIGURE_SHELL_COMMAND_EDIT)
182      &rtems_shell_EDIT_Command,
183    #endif
184    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
185         !defined(CONFIGURE_SHELL_NO_COMMAND_SLEEP)) || \
186        defined(CONFIGURE_SHELL_COMMAND_SLEEP)
187      &rtems_shell_SLEEP_Command,
188    #endif
189    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
190         !defined(CONFIGURE_SHELL_NO_COMMAND_ID)) || \
191        defined(CONFIGURE_SHELL_COMMAND_ID)
192      &rtems_shell_ID_Command,
193    #endif
194    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
195         !defined(CONFIGURE_SHELL_NO_COMMAND_TTY)) || \
196        defined(CONFIGURE_SHELL_COMMAND_TTY)
197      &rtems_shell_TTY_Command,
198    #endif
199    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
200         !defined(CONFIGURE_SHELL_NO_COMMAND_WHOAMI)) || \
201        defined(CONFIGURE_SHELL_COMMAND_WHOAMI)
202      &rtems_shell_WHOAMI_Command,
203    #endif
204    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
205         !defined(CONFIGURE_SHELL_NO_COMMAND_LOGOFF)) || \
206        defined(CONFIGURE_SHELL_COMMAND_LOGOFF)
207      &rtems_shell_LOGOFF_Command,
208    #endif
209    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
210         !defined(CONFIGURE_SHELL_NO_COMMAND_SETENV)) || \
211        defined(CONFIGURE_SHELL_COMMAND_SETENV)
212      &rtems_shell_SETENV_Command,
213    #endif
214    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
215         !defined(CONFIGURE_SHELL_NO_COMMAND_GETENV)) || \
216        defined(CONFIGURE_SHELL_COMMAND_GETENV)
217      &rtems_shell_GETENV_Command,
218    #endif
219    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
220         !defined(CONFIGURE_SHELL_NO_COMMAND_CRLENV)) || \
221        defined(CONFIGURE_SHELL_COMMAND_UNSETENV)
222      &rtems_shell_UNSETENV_Command,
223    #endif
224
225    /*
226     *  Memory printing/modification family commands
227     */
228    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
229        !defined(CONFIGURE_SHELL_NO_COMMAND_MDUMP)) || \
230        defined(CONFIGURE_SHELL_COMMAND_MDUMP)
231      &rtems_shell_MDUMP_Command,
232    #endif
233    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
234         !defined(CONFIGURE_SHELL_NO_COMMAND_WDUMP)) || \
235        defined(CONFIGURE_SHELL_COMMAND_WDUMP)
236      &rtems_shell_WDUMP_Command,
237    #endif
238    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
239         !defined(CONFIGURE_SHELL_NO_COMMAND_LDUMP)) || \
240        defined(CONFIGURE_SHELL_COMMAND_LDUMP)
241      &rtems_shell_LDUMP_Command,
242    #endif
243    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
244         !defined(CONFIGURE_SHELL_NO_COMMAND_MEDIT)) || \
245        defined(CONFIGURE_SHELL_COMMAND_MEDIT)
246      &rtems_shell_MEDIT_Command,
247    #endif
248    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
249         !defined(CONFIGURE_SHELL_NO_COMMAND_MFILL)) || \
250        defined(CONFIGURE_SHELL_COMMAND_MFILL)
251      &rtems_shell_MFILL_Command,
252    #endif
253    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
254         !defined(CONFIGURE_SHELL_NO_COMMAND_MMOVE)) || \
255        defined(CONFIGURE_SHELL_COMMAND_MMOVE)
256      &rtems_shell_MMOVE_Command,
257    #endif
258
259    /*
260     *  File and directory commands
261     */
262    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
263         !defined(CONFIGURE_SHELL_NO_COMMAND_CP)) || \
264        defined(CONFIGURE_SHELL_COMMAND_CP)
265      &rtems_shell_CP_Command,
266    #endif
267    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
268         !defined(CONFIGURE_SHELL_NO_COMMAND_PWD)) || \
269        defined(CONFIGURE_SHELL_COMMAND_PWD)
270      &rtems_shell_PWD_Command,
271    #endif
272    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
273         !defined(CONFIGURE_SHELL_NO_COMMAND_LS)) || \
274        defined(CONFIGURE_SHELL_COMMAND_LS)
275      &rtems_shell_LS_Command,
276    #endif
277    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
278         !defined(CONFIGURE_SHELL_NO_COMMAND_CHDIR)) || \
279        defined(CONFIGURE_SHELL_COMMAND_CHDIR)
280      &rtems_shell_CHDIR_Command,
281    #endif
282    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
283         !defined(CONFIGURE_SHELL_NO_COMMAND_MKDIR)) || \
284        defined(CONFIGURE_SHELL_COMMAND_MKDIR)
285      &rtems_shell_MKDIR_Command,
286    #endif
287    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
288         !defined(CONFIGURE_SHELL_NO_COMMAND_RMDIR)) || \
289        defined(CONFIGURE_SHELL_COMMAND_RMDIR)
290      &rtems_shell_RMDIR_Command,
291    #endif
292    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
293         !defined(CONFIGURE_SHELL_NO_COMMAND_CHROOT)) || \
294        defined(CONFIGURE_SHELL_COMMAND_CHROOT)
295      &rtems_shell_CHROOT_Command,
296    #endif
297    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
298         !defined(CONFIGURE_SHELL_NO_COMMAND_CHMOD)) || \
299        defined(CONFIGURE_SHELL_COMMAND_CHMOD)
300      &rtems_shell_CHMOD_Command,
301    #endif
302    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
303         !defined(CONFIGURE_SHELL_NO_COMMAND_CAT)) || \
304        defined(CONFIGURE_SHELL_COMMAND_CAT)
305      &rtems_shell_CAT_Command,
306    #endif
307    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
308         !defined(CONFIGURE_SHELL_NO_COMMAND_MKRFS)) || \
309        defined(CONFIGURE_SHELL_COMMAND_MKRFS)
310      &rtems_shell_MKRFS_Command,
311    #endif
312    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
313         !defined(CONFIGURE_SHELL_NO_COMMAND_MSDOSFMT)) || \
314        defined(CONFIGURE_SHELL_COMMAND_MSDOSFMT)
315      &rtems_shell_MSDOSFMT_Command,
316      &rtems_shell_MSDOSFMT_Alias,
317    #endif
318    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
319         !defined(CONFIGURE_SHELL_NO_COMMAND_MV)) || \
320        defined(CONFIGURE_SHELL_COMMAND_MV)
321      &rtems_shell_MV_Command,
322    #endif
323    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
324         !defined(CONFIGURE_SHELL_NO_COMMAND_RM)) || \
325        defined(CONFIGURE_SHELL_COMMAND_RM)
326      &rtems_shell_RM_Command,
327    #endif
328    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
329         !defined(CONFIGURE_SHELL_NO_COMMAND_LN)) || \
330        defined(CONFIGURE_SHELL_COMMAND_LN)
331      &rtems_shell_LN_Command,
332    #endif
333    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
334         !defined(CONFIGURE_SHELL_NO_COMMAND_MKNOD)) || \
335        defined(CONFIGURE_SHELL_COMMAND_MKNOD)
336      &rtems_shell_MKNOD_Command,
337    #endif
338    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
339         !defined(CONFIGURE_SHELL_NO_COMMAND_UMASK)) || \
340        defined(CONFIGURE_SHELL_COMMAND_UMASK)
341      &rtems_shell_UMASK_Command,
342    #endif
343    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
344         !defined(CONFIGURE_SHELL_NO_COMMAND_LSOF)) || \
345        defined(CONFIGURE_SHELL_COMMAND_LSOF)
346      &rtems_shell_LSOF_Command,
347    #endif
348    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
349         !defined(CONFIGURE_SHELL_NO_COMMAND_MOUNT)) || \
350        defined(CONFIGURE_SHELL_COMMAND_MOUNT)
351      &rtems_shell_MOUNT_Command,
352    #endif
353    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
354         !defined(CONFIGURE_SHELL_NO_COMMAND_UNMOUNT)) || \
355        defined(CONFIGURE_SHELL_COMMAND_UNMOUNT)
356      &rtems_shell_UNMOUNT_Command,
357    #endif
358    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
359         !defined(CONFIGURE_SHELL_NO_COMMAND_BLKSYNC)) || \
360        defined(CONFIGURE_SHELL_COMMAND_BLKSYNC)
361      &rtems_shell_BLKSYNC_Command,
362    #endif
363    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
364         !defined(CONFIGURE_SHELL_NO_COMMAND_BLKSTATS)) || \
365        defined(CONFIGURE_SHELL_COMMAND_BLKSTATS)
366      &rtems_shell_BLKSTATS_Command,
367    #endif
368    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
369         !defined(CONFIGURE_SHELL_NO_COMMAND_FDISK)) || \
370        defined(CONFIGURE_SHELL_COMMAND_FDISK)
371      &rtems_shell_FDISK_Command,
372    #endif
373    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
374         !defined(CONFIGURE_SHELL_NO_COMMAND_DD)) || \
375        defined(CONFIGURE_SHELL_COMMAND_DD)
376      &rtems_shell_DD_Command,
377    #endif
378    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
379         !defined(CONFIGURE_SHELL_NO_COMMAND_HEXDUMP)) || \
380        defined(CONFIGURE_SHELL_COMMAND_HEXDUMP)
381      &rtems_shell_HEXDUMP_Command,
382    #endif
383    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
384         !defined(CONFIGURE_SHELL_NO_COMMAND_DEBUGRFS)) || \
385        defined(CONFIGURE_SHELL_COMMAND_DEBUGRFS)
386      &rtems_shell_DEBUGRFS_Command,
387    #endif
388    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
389         !defined(CONFIGURE_SHELL_NO_COMMAND_DF)) || \
390        defined(CONFIGURE_SHELL_COMMAND_DF)
391      &rtems_shell_DF_Command,
392    #endif
393    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
394         !defined(CONFIGURE_SHELL_NO_COMMAND_MD5)) || \
395        defined(CONFIGURE_SHELL_COMMAND_MD5)
396      &rtems_shell_MD5_Command,
397    #endif
398
399    /*
400     *  RTEMS Related commands
401     */
402    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
403         !defined(CONFIGURE_SHELL_NO_COMMAND_HALT)) || \
404        defined(CONFIGURE_SHELL_COMMAND_HALT)
405      &rtems_shell_HALT_Command,
406    #endif
407    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
408         !defined(CONFIGURE_SHELL_NO_COMMAND_CPUUSE)) || \
409        defined(CONFIGURE_SHELL_COMMAND_CPUUSE)
410      &rtems_shell_CPUUSE_Command,
411    #endif
412    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
413         !defined(CONFIGURE_SHELL_NO_COMMAND_TOP)) || \
414        defined(CONFIGURE_SHELL_COMMAND_TOP)
415      &rtems_shell_TOP_Command,
416    #endif
417     #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
418         !defined(CONFIGURE_SHELL_NO_COMMAND_STACKUSE)) || \
419        defined(CONFIGURE_SHELL_COMMAND_STACKUSE)
420      &rtems_shell_STACKUSE_Command,
421    #endif
422    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
423         !defined(CONFIGURE_SHELL_NO_COMMAND_PERIODUSE)) || \
424        defined(CONFIGURE_SHELL_COMMAND_PERIODUSE)
425      &rtems_shell_PERIODUSE_Command,
426    #endif
427    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
428         !defined(CONFIGURE_SHELL_NO_COMMAND_WKSPACE_INFO)) || \
429        defined(CONFIGURE_SHELL_COMMAND_WKSPACE_INFO)
430      &rtems_shell_WKSPACE_INFO_Command,
431    #endif
432
433    /*
434     *  Malloc family commands
435     */
436    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
437         !defined(CONFIGURE_SHELL_NO_COMMAND_MALLOC_INFO)) || \
438        defined(CONFIGURE_SHELL_COMMAND_MALLOC_INFO)
439      &rtems_shell_MALLOC_INFO_Command,
440    #endif
441
442    /*
443     *  Network related commands
444     */
445    #if RTEMS_NETWORKING
446      #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
447           !defined(CONFIGURE_SHELL_NO_COMMAND_IFCONFIG)) || \
448          defined(CONFIGURE_SHELL_COMMAND_IFCONFIG)
449        &rtems_shell_IFCONFIG_Command,
450      #endif
451
452      #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
453           !defined(CONFIGURE_SHELL_NO_COMMAND_ROUTE)) || \
454          defined(CONFIGURE_SHELL_COMMAND_ROUTE)
455        &rtems_shell_ROUTE_Command,
456      #endif
457
458      #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
459           !defined(CONFIGURE_SHELL_NO_COMMAND_NETSTATS)) || \
460          defined(CONFIGURE_SHELL_COMMAND_NETSTATS)
461        &rtems_shell_NETSTATS_Command,
462      #endif
463
464      #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
465           !defined(CONFIGURE_SHELL_NO_COMMAND_PING)) || \
466          defined(CONFIGURE_SHELL_COMMAND_PING)
467        &rtems_shell_PING_Command,
468      #endif
469    #endif
470
471    /* Miscanellous shell commands */
472    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) \
473          && !defined(CONFIGURE_SHELL_NO_COMMAND_RTC)) \
474        || defined(CONFIGURE_SHELL_COMMAND_RTC)
475      &rtems_shell_RTC_Command,
476    #endif
477
478    /*
479     *  User defined shell commands
480     */
481    #if defined(CONFIGURE_SHELL_USER_COMMANDS)
482      CONFIGURE_SHELL_USER_COMMANDS,
483    #endif
484    NULL
485  };
486
487#endif
488
489#endif
Note: See TracBrowser for help on using the repository browser.