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

4.104.115
Last change on this file since eb649786 was eb649786, checked in by Chris Johns <chrisj@…>, on 10/08/09 at 07:07:36

2009-10-08 Chris Johns <chrisj@…>

  • Makefile.am, preinstall.am: Added statvfs.h.
  • libcsupport/Makefile.am: Add statvfs.c.
  • libcsupport/include/sys/statvfs.h, libcsupport/src/statvfs.c: New.
  • libcsupport/include/rtems/libio.h: Add a file system handler for the statvfs call.
  • libfs/src/devfs/devfs_init.c, libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs_init.c, libfs/src/nfsclient/src/nfs.c: Set the statvfs handler to NULL.
  • include/rtems/fs.h: Add a second node access field for the RFS file system to hold a directory offset while the existing field holds the inode number. This save a rescan of the directory when working with directories.
  • libblock/include/rtems/bdbuf.h: Added references and user fields to the buffer descriptor.
  • libblock/src/bdbuf.c: Added dynamic buffer support for different block sizes. Fixed a number of bugs.
  • libblock/src/blkdev.c: Release the disk device on an error.
  • libblock/src/diskdevs.c: Set the block size to the media block size during initialisation of the disk device.
  • libblock/src/flashdisk.c, libblock/src/nvdisk.c, libblock/src/ramdisk.c: Updated the drivers to handle variable block sizes.
  • libfs/src/dosfs/fat.c, libfs/src/dosfs/fat.h: Release any buffers when an error occurs. The FAT buffer layer hangs onto a single buffer while mounted. This should be fixed.
  • sapi/inline/rtems/chain.inl: Added rtems_chain_set_off_chain, rtems_chain_is_node_off_chain, and rtems_chain_previous.
  • score/inline/rtems/score/chain.inl: Added _Chain_Set_off_chain, and _Chain_Is_node_off_chain.
  • libmisc/shell/main_ln.c, libmisc/shell/main_mknod.c, libmisc/shell/mknod-pack_dev.c, libmisc/shell/mknod-pack_dev.h: New shell commands.
  • libmisc/Makefile.am, libmisc/shell/shellconfig.h: Added ln and mknod commands.
  • libmisc/shell/hexdump-display.c: Fixed the reopen bug which showed up as a free with a bad pointer.
  • libmisc/shell/main_mount.c: List the user adding file system when listing the available file systems to mount.
  • libmisc/shell/utils-cp.c: Remove the fixed static copy buffer and use a large dynamic buffer.
  • score/inline/rtems/score/address.inl, score/src/coremsgsubmit.c, score/src/objectallocate.c, score/src/objectfree.c: Remove warnings.
  • Property mode set to 100644
File size: 15.2 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;
26
27extern rtems_shell_cmd_t rtems_shell_MDUMP_Command;
28extern rtems_shell_cmd_t rtems_shell_WDUMP_Command;
29extern rtems_shell_cmd_t rtems_shell_MEDIT_Command;
30extern rtems_shell_cmd_t rtems_shell_MFILL_Command;
31extern rtems_shell_cmd_t rtems_shell_MMOVE_Command;
32
33extern rtems_shell_cmd_t rtems_shell_JOEL_Command;
34extern rtems_shell_cmd_t rtems_shell_DATE_Command;
35extern rtems_shell_cmd_t rtems_shell_ECHO_Command;
36extern rtems_shell_cmd_t rtems_shell_SLEEP_Command;
37extern rtems_shell_cmd_t rtems_shell_ID_Command;
38extern rtems_shell_cmd_t rtems_shell_TTY_Command;
39extern rtems_shell_cmd_t rtems_shell_WHOAMI_Command;
40
41extern rtems_shell_cmd_t rtems_shell_CP_Command;
42extern rtems_shell_cmd_t rtems_shell_PWD_Command;
43extern rtems_shell_cmd_t rtems_shell_LS_Command;
44extern rtems_shell_cmd_t rtems_shell_CHDIR_Command;
45extern rtems_shell_cmd_t rtems_shell_MKDIR_Command;
46extern rtems_shell_cmd_t rtems_shell_RMDIR_Command;
47extern rtems_shell_cmd_t rtems_shell_CHROOT_Command;
48extern rtems_shell_cmd_t rtems_shell_CHMOD_Command;
49extern rtems_shell_cmd_t rtems_shell_CAT_Command;
50extern rtems_shell_cmd_t rtems_shell_MSDOSFMT_Command;
51extern rtems_shell_cmd_t rtems_shell_MV_Command;
52extern rtems_shell_cmd_t rtems_shell_RM_Command;
53extern rtems_shell_cmd_t rtems_shell_LN_Command;
54extern rtems_shell_cmd_t rtems_shell_MKNOD_Command;
55extern rtems_shell_cmd_t rtems_shell_UMASK_Command;
56extern rtems_shell_cmd_t rtems_shell_MOUNT_Command;
57extern rtems_shell_cmd_t rtems_shell_UNMOUNT_Command;
58extern rtems_shell_cmd_t rtems_shell_BLKSYNC_Command;
59extern rtems_shell_cmd_t rtems_shell_FDISK_Command;
60extern rtems_shell_cmd_t rtems_shell_DD_Command;
61extern rtems_shell_cmd_t rtems_shell_HEXDUMP_Command;
62
63extern rtems_shell_cmd_t rtems_shell_RTC_Command;
64
65extern rtems_shell_cmd_t rtems_shell_HALT_Command;
66extern rtems_shell_cmd_t rtems_shell_CPUUSE_Command;
67extern rtems_shell_cmd_t rtems_shell_STACKUSE_Command;
68extern rtems_shell_cmd_t rtems_shell_PERIODUSE_Command;
69extern rtems_shell_cmd_t rtems_shell_WKSPACE_INFO_Command;
70extern rtems_shell_cmd_t rtems_shell_MALLOC_INFO_Command;
71#if RTEMS_NETWORKING
72  extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command;
73  extern rtems_shell_cmd_t rtems_shell_ROUTE_Command;
74  extern rtems_shell_cmd_t rtems_shell_NETSTATS_Command;
75#endif
76
77extern rtems_shell_cmd_t *rtems_shell_Initial_commands[];
78
79/*
80 *  Extern for alias commands
81 */
82extern rtems_shell_alias_t rtems_shell_DIR_Alias;
83extern rtems_shell_alias_t rtems_shell_CD_Alias;
84extern rtems_shell_alias_t rtems_shell_EXIT_Alias;
85
86extern rtems_shell_alias_t *rtems_shell_Initial_aliases[];
87
88/*
89 *  Externs for mount command helpers
90 */
91extern rtems_shell_filesystems_t rtems_shell_Mount_MSDOS;
92extern rtems_shell_filesystems_t rtems_shell_Mount_TFTP;
93extern rtems_shell_filesystems_t rtems_shell_Mount_FTP;
94extern rtems_shell_filesystems_t rtems_shell_Mount_NFS;
95
96extern rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[];
97
98/*
99 *  If we are configured to alias a command, then make sure the underlying
100 *  command is configured.
101 */
102
103#if !defined(CONFIGURE_SHELL_COMMANDS_ALL)
104  #if defined(CONFIGURE_SHELL_COMMANDS_DIR) && \
105      !defined(CONFIGURE_SHELL_COMMANDS_LS)
106    #define CONFIGURE_SHELL_COMMAND_LS
107  #endif
108
109  #if defined(CONFIGURE_SHELL_COMMANDS_CD) && \
110      !defined(CONFIGURE_SHELL_COMMANDS_CHDIR)
111    #define CONFIGURE_SHELL_COMMAND_CHDIR
112  #endif
113
114  #if defined(CONFIGURE_SHELL_COMMANDS_EXIT) && \
115      !defined(CONFIGURE_SHELL_COMMANDS_LOGOFF)
116    #define CONFIGURE_SHELL_COMMAND_LOGOFF
117  #endif
118#endif
119
120#if defined(CONFIGURE_SHELL_COMMANDS_INIT)
121  rtems_shell_alias_t *rtems_shell_Initial_aliases[] = {
122    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
123         !defined(CONFIGURE_SHELL_NO_COMMAND_DIR)) || \
124        defined(CONFIGURE_SHELL_COMMAND_DIR)
125      &rtems_shell_DIR_Alias,
126    #endif
127    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
128         !defined(CONFIGURE_SHELL_NO_COMMAND_CD)) || \
129        defined(CONFIGURE_SHELL_COMMAND_CD)
130      &rtems_shell_CD_Alias,
131    #endif
132    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
133         !defined(CONFIGURE_SHELL_NO_COMMAND_EXIT)) || \
134        defined(CONFIGURE_SHELL_COMMAND_EXIT)
135      &rtems_shell_EXIT_Alias,
136    #endif
137
138    /*
139     *  User defined shell aliases
140     */
141    #if defined(CONFIGURE_SHELL_USER_ALIASES)
142      CONFIGURE_SHELL_USER_ALIASES,
143    #endif
144    NULL
145  };
146
147  rtems_shell_cmd_t *rtems_shell_Initial_commands[] = {
148    /*
149     *  General comamnds that should be present
150     */
151    &rtems_shell_HELP_Command,
152    &rtems_shell_ALIAS_Command,
153    &rtems_shell_TIME_Command,
154
155    /*
156     *  Common commands that can be optional
157     */
158    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
159         !defined(CONFIGURE_SHELL_NO_COMMAND_JOEL)) || \
160        defined(CONFIGURE_SHELL_COMMAND_JOEL)
161      &rtems_shell_JOEL_Command,
162    #endif
163    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
164         !defined(CONFIGURE_SHELL_NO_COMMAND_DATE)) || \
165        defined(CONFIGURE_SHELL_COMMAND_DATE)
166      &rtems_shell_DATE_Command,
167    #endif
168    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
169         !defined(CONFIGURE_SHELL_NO_COMMAND_ECHO)) || \
170        defined(CONFIGURE_SHELL_COMMAND_ECHO)
171      &rtems_shell_ECHO_Command,
172    #endif
173    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
174         !defined(CONFIGURE_SHELL_NO_COMMAND_SLEEP)) || \
175        defined(CONFIGURE_SHELL_COMMAND_SLEEP)
176      &rtems_shell_SLEEP_Command,
177    #endif
178    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
179         !defined(CONFIGURE_SHELL_NO_COMMAND_ID)) || \
180        defined(CONFIGURE_SHELL_COMMAND_ID)
181      &rtems_shell_ID_Command,
182    #endif
183    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
184         !defined(CONFIGURE_SHELL_NO_COMMAND_TTY)) || \
185        defined(CONFIGURE_SHELL_COMMAND_TTY)
186      &rtems_shell_TTY_Command,
187    #endif
188    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
189         !defined(CONFIGURE_SHELL_NO_COMMAND_WHOAMI)) || \
190        defined(CONFIGURE_SHELL_COMMAND_WHOAMI)
191      &rtems_shell_WHOAMI_Command,
192    #endif
193    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
194         !defined(CONFIGURE_SHELL_NO_COMMAND_LOGOFF)) || \
195        defined(CONFIGURE_SHELL_COMMAND_LOGOFF)
196      &rtems_shell_LOGOFF_Command,
197    #endif
198
199    /*
200     *  Memory printing/modification family commands
201     */
202    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
203        !defined(CONFIGURE_SHELL_NO_COMMAND_MDUMP)) || \
204        defined(CONFIGURE_SHELL_COMMAND_MDUMP)
205      &rtems_shell_MDUMP_Command,
206    #endif
207    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
208         !defined(CONFIGURE_SHELL_NO_COMMAND_WDUMP)) || \
209        defined(CONFIGURE_SHELL_COMMAND_WDUMP)
210      &rtems_shell_WDUMP_Command,
211    #endif
212    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
213         !defined(CONFIGURE_SHELL_NO_COMMAND_MEDIT)) || \
214        defined(CONFIGURE_SHELL_COMMAND_MEDIT)
215      &rtems_shell_MEDIT_Command,
216    #endif
217    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
218         !defined(CONFIGURE_SHELL_NO_COMMAND_MFILL)) || \
219        defined(CONFIGURE_SHELL_COMMAND_MFILL)
220      &rtems_shell_MFILL_Command,
221    #endif
222    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
223         !defined(CONFIGURE_SHELL_NO_COMMAND_MMOVE)) || \
224        defined(CONFIGURE_SHELL_COMMAND_MMOVE)
225      &rtems_shell_MMOVE_Command,
226    #endif
227
228    /*
229     *  File and directory commands
230     */
231    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
232         !defined(CONFIGURE_SHELL_NO_COMMAND_CP)) || \
233        defined(CONFIGURE_SHELL_COMMAND_CP)
234      &rtems_shell_CP_Command,
235    #endif
236    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
237         !defined(CONFIGURE_SHELL_NO_COMMAND_PWD)) || \
238        defined(CONFIGURE_SHELL_COMMAND_PWD)
239      &rtems_shell_PWD_Command,
240    #endif
241    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
242         !defined(CONFIGURE_SHELL_NO_COMMAND_LS)) || \
243        defined(CONFIGURE_SHELL_COMMAND_LS)
244      &rtems_shell_LS_Command,
245    #endif
246    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
247         !defined(CONFIGURE_SHELL_NO_COMMAND_CHDIR)) || \
248        defined(CONFIGURE_SHELL_COMMAND_CHDIR)
249      &rtems_shell_CHDIR_Command,
250    #endif
251    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
252         !defined(CONFIGURE_SHELL_NO_COMMAND_MKDIR)) || \
253        defined(CONFIGURE_SHELL_COMMAND_MKDIR)
254      &rtems_shell_MKDIR_Command,
255    #endif
256    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
257         !defined(CONFIGURE_SHELL_NO_COMMAND_RMDIR)) || \
258        defined(CONFIGURE_SHELL_COMMAND_RMDIR)
259      &rtems_shell_RMDIR_Command,
260    #endif
261    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
262         !defined(CONFIGURE_SHELL_NO_COMMAND_CHROOT)) || \
263        defined(CONFIGURE_SHELL_COMMAND_CHROOT)
264      &rtems_shell_CHROOT_Command,
265    #endif
266    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
267         !defined(CONFIGURE_SHELL_NO_COMMAND_CHMOD)) || \
268        defined(CONFIGURE_SHELL_COMMAND_CHMOD)
269      &rtems_shell_CHMOD_Command,
270    #endif
271    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
272         !defined(CONFIGURE_SHELL_NO_COMMAND_CAT)) || \
273        defined(CONFIGURE_SHELL_COMMAND_CAT)
274      &rtems_shell_CAT_Command,
275    #endif
276    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
277         !defined(CONFIGURE_SHELL_NO_COMMAND_MSDOSFMT)) || \
278        defined(CONFIGURE_SHELL_COMMAND_MSDOSFMT)
279      &rtems_shell_MSDOSFMT_Command,
280    #endif
281    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
282         !defined(CONFIGURE_SHELL_NO_COMMAND_MV)) || \
283        defined(CONFIGURE_SHELL_COMMAND_MV)
284      &rtems_shell_MV_Command,
285    #endif
286    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
287         !defined(CONFIGURE_SHELL_NO_COMMAND_RM)) || \
288        defined(CONFIGURE_SHELL_COMMAND_RM)
289      &rtems_shell_RM_Command,
290    #endif
291    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
292         !defined(CONFIGURE_SHELL_NO_COMMAND_LN)) || \
293        defined(CONFIGURE_SHELL_COMMAND_LN)
294      &rtems_shell_LN_Command,
295    #endif
296    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
297         !defined(CONFIGURE_SHELL_NO_COMMAND_MKNOD)) || \
298        defined(CONFIGURE_SHELL_COMMAND_MKNOD)
299      &rtems_shell_MKNOD_Command,
300    #endif
301    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
302         !defined(CONFIGURE_SHELL_NO_COMMAND_UMASK)) || \
303        defined(CONFIGURE_SHELL_COMMAND_UMASK)
304      &rtems_shell_UMASK_Command,
305    #endif
306    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
307         !defined(CONFIGURE_SHELL_NO_COMMAND_MOUNT)) || \
308        defined(CONFIGURE_SHELL_COMMAND_MOUNT)
309      &rtems_shell_MOUNT_Command,
310    #endif
311    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
312         !defined(CONFIGURE_SHELL_NO_COMMAND_UNMOUNT)) || \
313        defined(CONFIGURE_SHELL_COMMAND_UNMOUNT)
314      &rtems_shell_UNMOUNT_Command,
315    #endif
316    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
317         !defined(CONFIGURE_SHELL_NO_COMMAND_BLKSYNC)) || \
318        defined(CONFIGURE_SHELL_COMMAND_BLKSYNC)
319      &rtems_shell_BLKSYNC_Command,
320    #endif
321    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
322         !defined(CONFIGURE_SHELL_NO_COMMAND_FDISK)) || \
323        defined(CONFIGURE_SHELL_COMMAND_FDISK)
324      &rtems_shell_FDISK_Command,
325    #endif
326    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
327         !defined(CONFIGURE_SHELL_NO_COMMAND_DD)) || \
328        defined(CONFIGURE_SHELL_COMMAND_DD)
329      &rtems_shell_DD_Command,
330    #endif
331    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
332         !defined(CONFIGURE_SHELL_NO_COMMAND_HEXDUMP)) || \
333        defined(CONFIGURE_SHELL_COMMAND_HEXDUMP)
334      &rtems_shell_HEXDUMP_Command,
335    #endif
336
337    /*
338     *  RTEMS Related commands
339     */
340    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
341         !defined(CONFIGURE_SHELL_NO_COMMAND_HALT)) || \
342        defined(CONFIGURE_SHELL_COMMAND_HALT)
343      &rtems_shell_HALT_Command,
344    #endif
345    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
346         !defined(CONFIGURE_SHELL_NO_COMMAND_CPUUSE)) || \
347        defined(CONFIGURE_SHELL_COMMAND_CPUUSE)
348      &rtems_shell_CPUUSE_Command,
349    #endif
350    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
351         !defined(CONFIGURE_SHELL_NO_COMMAND_STACKUSE)) || \
352        defined(CONFIGURE_SHELL_COMMAND_STACKUSE)
353      &rtems_shell_STACKUSE_Command,
354    #endif
355    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
356         !defined(CONFIGURE_SHELL_NO_COMMAND_PERIODUSE)) || \
357        defined(CONFIGURE_SHELL_COMMAND_PERIODUSE)
358      &rtems_shell_PERIODUSE_Command,
359    #endif
360    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
361         !defined(CONFIGURE_SHELL_NO_COMMAND_WKSPACE_INFO)) || \
362        defined(CONFIGURE_SHELL_COMMAND_WKSPACE_INFO)
363      &rtems_shell_WKSPACE_INFO_Command,
364    #endif
365
366
367    /*
368     *  Malloc family commands
369     */
370    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
371         !defined(CONFIGURE_SHELL_NO_COMMAND_MALLOC_INFO)) || \
372        defined(CONFIGURE_SHELL_COMMAND_MALLOC_INFO)
373      &rtems_shell_MALLOC_INFO_Command,
374    #endif
375
376    /*
377     *  Network related commands
378     */
379    #if RTEMS_NETWORKING
380      #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
381           !defined(CONFIGURE_SHELL_NO_COMMAND_IFCONFIG)) || \
382          defined(CONFIGURE_SHELL_COMMAND_IFCONFIG)
383        &rtems_shell_IFCONFIG_Command,
384      #endif
385
386      #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
387           !defined(CONFIGURE_SHELL_NO_COMMAND_ROUTE)) || \
388          defined(CONFIGURE_SHELL_COMMAND_ROUTE)
389        &rtems_shell_ROUTE_Command,
390      #endif
391
392      #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
393           !defined(CONFIGURE_SHELL_NO_COMMAND_NETSTATS)) || \
394          defined(CONFIGURE_SHELL_COMMAND_NETSTATS)
395        &rtems_shell_NETSTATS_Command,
396      #endif
397    #endif
398
399    /* Miscanellous shell commands */
400    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) \
401          && !defined(CONFIGURE_SHELL_NO_COMMAND_RTC)) \
402        || defined(CONFIGURE_SHELL_COMMAND_RTC)
403      &rtems_shell_RTC_Command,
404    #endif
405
406    /*
407     *  User defined shell commands
408     */
409    #if defined(CONFIGURE_SHELL_USER_COMMANDS)
410      CONFIGURE_SHELL_USER_COMMANDS,
411    #endif
412    NULL
413  };
414
415  /*
416   * The mount command's support file system types.
417   */
418  #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
419       !defined(CONFIGURE_SHELL_COMMAND_NO_MOUNT)) || \
420       defined(CONFIGURE_SHELL_COMMAND_MOUNT)
421    rtems_shell_filesystems_t *rtems_shell_Mount_filesystems[] = {
422      #if defined(CONFIGURE_SHELL_MOUNT_MSDOS)
423        &rtems_shell_Mount_MSDOS,
424      #endif
425      #if RTEMS_NETWORKING
426        #if defined(CONFIGURE_SHELL_MOUNT_TFTP)
427          &rtems_shell_Mount_TFTP,
428        #endif
429        #if defined(CONFIGURE_SHELL_MOUNT_FTP)
430          &rtems_shell_Mount_FTP,
431        #endif
432        #if defined(CONFIGURE_SHELL_MOUNT_NFS)
433          &rtems_shell_Mount_NFS,
434        #endif
435      #endif
436      NULL
437    };
438  #endif
439
440#endif
441
442#endif
Note: See TracBrowser for help on using the repository browser.