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

4.104.115
Last change on this file since cca94a2 was cca94a2, checked in by Chris Johns <chrisj@…>, on 02/19/10 at 03:23:11

2010-02-19 Chris Johns <chrisj@…>

  • libblock/src/diskdevs.c: Create the devices as block devices.
  • libmisc/shell/main_debugrfs.c, libmisc/shell/main_mkrfs.c, libmisc/shell/main_mount_rfs.c: New.
  • libmisc/shell/main_msdosfmt.c: Change the command to mkdos and alias the old name.
  • libmisc/shell/shellconfig.h, libmisc/Makefile.am: Add RFS support.
  • libfs/src/rfs/rtems-rfs-shell.c, libfs/src/rfs/rtems-rfs-shell.h: Move the format command code into the shell file.
  • Property mode set to 100644
File size: 16.6 KB
Line 
1/*
2 *  RTEMS Shell Command Set Configuration
3 *
4 *  COPYRIGHT (c) 1989-2007.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#ifndef _RTEMS_SHELL_CONFIG_h
15#define _RTEMS_SHELL_CONFIG_h
16
17#include <rtems/shell.h>
18
19/*
20 *  Externs for all command definition structures
21 */
22extern rtems_shell_cmd_t rtems_shell_HELP_Command;
23extern rtems_shell_cmd_t rtems_shell_ALIAS_Command;
24extern rtems_shell_cmd_t rtems_shell_TIME_Command;
25extern rtems_shell_cmd_t rtems_shell_LOGOFF_Command;
26extern rtems_shell_cmd_t rtems_shell_SETENV_Command;
27extern rtems_shell_cmd_t rtems_shell_GETENV_Command;
28extern rtems_shell_cmd_t rtems_shell_UNSETENV_Command;
29
30extern rtems_shell_cmd_t rtems_shell_MDUMP_Command;
31extern rtems_shell_cmd_t rtems_shell_WDUMP_Command;
32extern rtems_shell_cmd_t rtems_shell_MEDIT_Command;
33extern rtems_shell_cmd_t rtems_shell_MFILL_Command;
34extern rtems_shell_cmd_t rtems_shell_MMOVE_Command;
35
36extern rtems_shell_cmd_t rtems_shell_JOEL_Command;
37extern rtems_shell_cmd_t rtems_shell_DATE_Command;
38extern rtems_shell_cmd_t rtems_shell_ECHO_Command;
39extern rtems_shell_cmd_t rtems_shell_SLEEP_Command;
40extern rtems_shell_cmd_t rtems_shell_ID_Command;
41extern rtems_shell_cmd_t rtems_shell_TTY_Command;
42extern rtems_shell_cmd_t rtems_shell_WHOAMI_Command;
43
44extern rtems_shell_cmd_t rtems_shell_CP_Command;
45extern rtems_shell_cmd_t rtems_shell_PWD_Command;
46extern rtems_shell_cmd_t rtems_shell_LS_Command;
47extern rtems_shell_cmd_t rtems_shell_CHDIR_Command;
48extern rtems_shell_cmd_t rtems_shell_MKDIR_Command;
49extern rtems_shell_cmd_t rtems_shell_RMDIR_Command;
50extern rtems_shell_cmd_t rtems_shell_CHROOT_Command;
51extern rtems_shell_cmd_t rtems_shell_CHMOD_Command;
52extern rtems_shell_cmd_t rtems_shell_CAT_Command;
53extern rtems_shell_cmd_t rtems_shell_MKRFS_Command;
54extern rtems_shell_cmd_t rtems_shell_MSDOSFMT_Command;
55extern rtems_shell_cmd_t rtems_shell_MV_Command;
56extern rtems_shell_cmd_t rtems_shell_RM_Command;
57extern rtems_shell_cmd_t rtems_shell_LN_Command;
58extern rtems_shell_cmd_t rtems_shell_MKNOD_Command;
59extern rtems_shell_cmd_t rtems_shell_UMASK_Command;
60extern rtems_shell_cmd_t rtems_shell_MOUNT_Command;
61extern rtems_shell_cmd_t rtems_shell_UNMOUNT_Command;
62extern rtems_shell_cmd_t rtems_shell_BLKSYNC_Command;
63extern rtems_shell_cmd_t rtems_shell_FDISK_Command;
64extern rtems_shell_cmd_t rtems_shell_DD_Command;
65extern rtems_shell_cmd_t rtems_shell_HEXDUMP_Command;
66extern rtems_shell_cmd_t rtems_shell_DEBUGRFS_Command;
67
68extern rtems_shell_cmd_t rtems_shell_RTC_Command;
69
70extern rtems_shell_cmd_t rtems_shell_HALT_Command;
71extern rtems_shell_cmd_t rtems_shell_CPUUSE_Command;
72extern rtems_shell_cmd_t rtems_shell_STACKUSE_Command;
73extern rtems_shell_cmd_t rtems_shell_PERIODUSE_Command;
74extern rtems_shell_cmd_t rtems_shell_WKSPACE_INFO_Command;
75extern rtems_shell_cmd_t rtems_shell_MALLOC_INFO_Command;
76#if RTEMS_NETWORKING
77  extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command;
78  extern rtems_shell_cmd_t rtems_shell_ROUTE_Command;
79  extern rtems_shell_cmd_t rtems_shell_NETSTATS_Command;
80#endif
81
82extern rtems_shell_cmd_t *rtems_shell_Initial_commands[];
83
84/*
85 *  Extern for alias commands
86 */
87extern rtems_shell_alias_t rtems_shell_DIR_Alias;
88extern rtems_shell_alias_t rtems_shell_CD_Alias;
89extern rtems_shell_alias_t rtems_shell_EXIT_Alias;
90
91extern rtems_shell_alias_t *rtems_shell_Initial_aliases[];
92
93/*
94 *  Externs for mount command helpers
95 */
96extern rtems_shell_filesystems_t rtems_shell_Mount_RFS;
97extern rtems_shell_filesystems_t rtems_shell_Mount_MSDOS;
98extern rtems_shell_filesystems_t rtems_shell_Mount_TFTP;
99extern rtems_shell_filesystems_t rtems_shell_Mount_FTP;
100extern rtems_shell_filesystems_t rtems_shell_Mount_NFS;
101
102extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[];
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_SLEEP)) || \
181        defined(CONFIGURE_SHELL_COMMAND_SLEEP)
182      &rtems_shell_SLEEP_Command,
183    #endif
184    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
185         !defined(CONFIGURE_SHELL_NO_COMMAND_ID)) || \
186        defined(CONFIGURE_SHELL_COMMAND_ID)
187      &rtems_shell_ID_Command,
188    #endif
189    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
190         !defined(CONFIGURE_SHELL_NO_COMMAND_TTY)) || \
191        defined(CONFIGURE_SHELL_COMMAND_TTY)
192      &rtems_shell_TTY_Command,
193    #endif
194    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
195         !defined(CONFIGURE_SHELL_NO_COMMAND_WHOAMI)) || \
196        defined(CONFIGURE_SHELL_COMMAND_WHOAMI)
197      &rtems_shell_WHOAMI_Command,
198    #endif
199    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
200         !defined(CONFIGURE_SHELL_NO_COMMAND_LOGOFF)) || \
201        defined(CONFIGURE_SHELL_COMMAND_LOGOFF)
202      &rtems_shell_LOGOFF_Command,
203    #endif
204    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
205         !defined(CONFIGURE_SHELL_NO_COMMAND_SETENV)) || \
206        defined(CONFIGURE_SHELL_COMMAND_SETENV)
207      &rtems_shell_SETENV_Command,
208    #endif
209    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
210         !defined(CONFIGURE_SHELL_NO_COMMAND_GETENV)) || \
211        defined(CONFIGURE_SHELL_COMMAND_GETENV)
212      &rtems_shell_GETENV_Command,
213    #endif
214    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
215         !defined(CONFIGURE_SHELL_NO_COMMAND_CRLENV)) || \
216        defined(CONFIGURE_SHELL_COMMAND_UNSETENV)
217      &rtems_shell_UNSETENV_Command,
218    #endif
219
220    /*
221     *  Memory printing/modification family commands
222     */
223    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
224        !defined(CONFIGURE_SHELL_NO_COMMAND_MDUMP)) || \
225        defined(CONFIGURE_SHELL_COMMAND_MDUMP)
226      &rtems_shell_MDUMP_Command,
227    #endif
228    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
229         !defined(CONFIGURE_SHELL_NO_COMMAND_WDUMP)) || \
230        defined(CONFIGURE_SHELL_COMMAND_WDUMP)
231      &rtems_shell_WDUMP_Command,
232    #endif
233    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
234         !defined(CONFIGURE_SHELL_NO_COMMAND_MEDIT)) || \
235        defined(CONFIGURE_SHELL_COMMAND_MEDIT)
236      &rtems_shell_MEDIT_Command,
237    #endif
238    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
239         !defined(CONFIGURE_SHELL_NO_COMMAND_MFILL)) || \
240        defined(CONFIGURE_SHELL_COMMAND_MFILL)
241      &rtems_shell_MFILL_Command,
242    #endif
243    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
244         !defined(CONFIGURE_SHELL_NO_COMMAND_MMOVE)) || \
245        defined(CONFIGURE_SHELL_COMMAND_MMOVE)
246      &rtems_shell_MMOVE_Command,
247    #endif
248
249    /*
250     *  File and directory commands
251     */
252    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
253         !defined(CONFIGURE_SHELL_NO_COMMAND_CP)) || \
254        defined(CONFIGURE_SHELL_COMMAND_CP)
255      &rtems_shell_CP_Command,
256    #endif
257    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
258         !defined(CONFIGURE_SHELL_NO_COMMAND_PWD)) || \
259        defined(CONFIGURE_SHELL_COMMAND_PWD)
260      &rtems_shell_PWD_Command,
261    #endif
262    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
263         !defined(CONFIGURE_SHELL_NO_COMMAND_LS)) || \
264        defined(CONFIGURE_SHELL_COMMAND_LS)
265      &rtems_shell_LS_Command,
266    #endif
267    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
268         !defined(CONFIGURE_SHELL_NO_COMMAND_CHDIR)) || \
269        defined(CONFIGURE_SHELL_COMMAND_CHDIR)
270      &rtems_shell_CHDIR_Command,
271    #endif
272    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
273         !defined(CONFIGURE_SHELL_NO_COMMAND_MKDIR)) || \
274        defined(CONFIGURE_SHELL_COMMAND_MKDIR)
275      &rtems_shell_MKDIR_Command,
276    #endif
277    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
278         !defined(CONFIGURE_SHELL_NO_COMMAND_RMDIR)) || \
279        defined(CONFIGURE_SHELL_COMMAND_RMDIR)
280      &rtems_shell_RMDIR_Command,
281    #endif
282    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
283         !defined(CONFIGURE_SHELL_NO_COMMAND_CHROOT)) || \
284        defined(CONFIGURE_SHELL_COMMAND_CHROOT)
285      &rtems_shell_CHROOT_Command,
286    #endif
287    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
288         !defined(CONFIGURE_SHELL_NO_COMMAND_CHMOD)) || \
289        defined(CONFIGURE_SHELL_COMMAND_CHMOD)
290      &rtems_shell_CHMOD_Command,
291    #endif
292    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
293         !defined(CONFIGURE_SHELL_NO_COMMAND_CAT)) || \
294        defined(CONFIGURE_SHELL_COMMAND_CAT)
295      &rtems_shell_CAT_Command,
296    #endif
297    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
298         !defined(CONFIGURE_SHELL_NO_COMMAND_MKRFS)) || \
299        defined(CONFIGURE_SHELL_COMMAND_MKRFS)
300      &rtems_shell_MKRFS_Command,
301    #endif
302    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
303         !defined(CONFIGURE_SHELL_NO_COMMAND_MSDOSFMT)) || \
304        defined(CONFIGURE_SHELL_COMMAND_MSDOSFMT)
305      &rtems_shell_MSDOSFMT_Command,
306    #endif
307    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
308         !defined(CONFIGURE_SHELL_NO_COMMAND_MV)) || \
309        defined(CONFIGURE_SHELL_COMMAND_MV)
310      &rtems_shell_MV_Command,
311    #endif
312    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
313         !defined(CONFIGURE_SHELL_NO_COMMAND_RM)) || \
314        defined(CONFIGURE_SHELL_COMMAND_RM)
315      &rtems_shell_RM_Command,
316    #endif
317    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
318         !defined(CONFIGURE_SHELL_NO_COMMAND_LN)) || \
319        defined(CONFIGURE_SHELL_COMMAND_LN)
320      &rtems_shell_LN_Command,
321    #endif
322    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
323         !defined(CONFIGURE_SHELL_NO_COMMAND_MKNOD)) || \
324        defined(CONFIGURE_SHELL_COMMAND_MKNOD)
325      &rtems_shell_MKNOD_Command,
326    #endif
327    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
328         !defined(CONFIGURE_SHELL_NO_COMMAND_UMASK)) || \
329        defined(CONFIGURE_SHELL_COMMAND_UMASK)
330      &rtems_shell_UMASK_Command,
331    #endif
332    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
333         !defined(CONFIGURE_SHELL_NO_COMMAND_MOUNT)) || \
334        defined(CONFIGURE_SHELL_COMMAND_MOUNT)
335      &rtems_shell_MOUNT_Command,
336    #endif
337    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
338         !defined(CONFIGURE_SHELL_NO_COMMAND_UNMOUNT)) || \
339        defined(CONFIGURE_SHELL_COMMAND_UNMOUNT)
340      &rtems_shell_UNMOUNT_Command,
341    #endif
342    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
343         !defined(CONFIGURE_SHELL_NO_COMMAND_BLKSYNC)) || \
344        defined(CONFIGURE_SHELL_COMMAND_BLKSYNC)
345      &rtems_shell_BLKSYNC_Command,
346    #endif
347    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
348         !defined(CONFIGURE_SHELL_NO_COMMAND_FDISK)) || \
349        defined(CONFIGURE_SHELL_COMMAND_FDISK)
350      &rtems_shell_FDISK_Command,
351    #endif
352    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
353         !defined(CONFIGURE_SHELL_NO_COMMAND_DD)) || \
354        defined(CONFIGURE_SHELL_COMMAND_DD)
355      &rtems_shell_DD_Command,
356    #endif
357    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
358         !defined(CONFIGURE_SHELL_NO_COMMAND_HEXDUMP)) || \
359        defined(CONFIGURE_SHELL_COMMAND_HEXDUMP)
360      &rtems_shell_HEXDUMP_Command,
361    #endif
362    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
363         !defined(CONFIGURE_SHELL_NO_COMMAND_DEBUGRFS)) || \
364        defined(CONFIGURE_SHELL_COMMAND_DEBUGRFS)
365      &rtems_shell_DEBUGRFS_Command,
366    #endif
367
368    /*
369     *  RTEMS Related commands
370     */
371    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
372         !defined(CONFIGURE_SHELL_NO_COMMAND_HALT)) || \
373        defined(CONFIGURE_SHELL_COMMAND_HALT)
374      &rtems_shell_HALT_Command,
375    #endif
376    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
377         !defined(CONFIGURE_SHELL_NO_COMMAND_CPUUSE)) || \
378        defined(CONFIGURE_SHELL_COMMAND_CPUUSE)
379      &rtems_shell_CPUUSE_Command,
380    #endif
381    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
382         !defined(CONFIGURE_SHELL_NO_COMMAND_STACKUSE)) || \
383        defined(CONFIGURE_SHELL_COMMAND_STACKUSE)
384      &rtems_shell_STACKUSE_Command,
385    #endif
386    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
387         !defined(CONFIGURE_SHELL_NO_COMMAND_PERIODUSE)) || \
388        defined(CONFIGURE_SHELL_COMMAND_PERIODUSE)
389      &rtems_shell_PERIODUSE_Command,
390    #endif
391    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
392         !defined(CONFIGURE_SHELL_NO_COMMAND_WKSPACE_INFO)) || \
393        defined(CONFIGURE_SHELL_COMMAND_WKSPACE_INFO)
394      &rtems_shell_WKSPACE_INFO_Command,
395    #endif
396
397    /*
398     *  Malloc family commands
399     */
400    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
401         !defined(CONFIGURE_SHELL_NO_COMMAND_MALLOC_INFO)) || \
402        defined(CONFIGURE_SHELL_COMMAND_MALLOC_INFO)
403      &rtems_shell_MALLOC_INFO_Command,
404    #endif
405
406    /*
407     *  Network related commands
408     */
409    #if RTEMS_NETWORKING
410      #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
411           !defined(CONFIGURE_SHELL_NO_COMMAND_IFCONFIG)) || \
412          defined(CONFIGURE_SHELL_COMMAND_IFCONFIG)
413        &rtems_shell_IFCONFIG_Command,
414      #endif
415
416      #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
417           !defined(CONFIGURE_SHELL_NO_COMMAND_ROUTE)) || \
418          defined(CONFIGURE_SHELL_COMMAND_ROUTE)
419        &rtems_shell_ROUTE_Command,
420      #endif
421
422      #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
423           !defined(CONFIGURE_SHELL_NO_COMMAND_NETSTATS)) || \
424          defined(CONFIGURE_SHELL_COMMAND_NETSTATS)
425        &rtems_shell_NETSTATS_Command,
426      #endif
427    #endif
428
429    /* Miscanellous shell commands */
430    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) \
431          && !defined(CONFIGURE_SHELL_NO_COMMAND_RTC)) \
432        || defined(CONFIGURE_SHELL_COMMAND_RTC)
433      &rtems_shell_RTC_Command,
434    #endif
435
436    /*
437     *  User defined shell commands
438     */
439    #if defined(CONFIGURE_SHELL_USER_COMMANDS)
440      CONFIGURE_SHELL_USER_COMMANDS,
441    #endif
442    NULL
443  };
444
445  /*
446   * The mount command's support file system types.
447   */
448  #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
449       !defined(CONFIGURE_SHELL_COMMAND_NO_MOUNT)) || \
450       defined(CONFIGURE_SHELL_COMMAND_MOUNT)
451    rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[] = {
452      #if defined(CONFIGURE_SHELL_MOUNT_RFS)
453        &rtems_shell_Mount_RFS,
454      #endif
455      #if defined(CONFIGURE_SHELL_MOUNT_MSDOS)
456        &rtems_shell_Mount_MSDOS,
457      #endif
458      #if RTEMS_NETWORKING
459        #if defined(CONFIGURE_SHELL_MOUNT_TFTP)
460          &rtems_shell_Mount_TFTP,
461        #endif
462        #if defined(CONFIGURE_SHELL_MOUNT_FTP)
463          &rtems_shell_Mount_FTP,
464        #endif
465        #if defined(CONFIGURE_SHELL_MOUNT_NFS)
466          &rtems_shell_Mount_NFS,
467        #endif
468      #endif
469      NULL
470    };
471  #endif
472
473#endif
474
475#endif
Note: See TracBrowser for help on using the repository browser.