source: rtems/cpukit/libmisc/shell/shellconfig.h @ 29e92b0

4.104.115
Last change on this file since 29e92b0 was 29e92b0, checked in by Chris Johns <chrisj@…>, on 05/31/10 at 13:56:37

2010-05-31 Chris Johns <chrisj@…>

  • libcsupport/Makefile.am: Add mount-mgr.c.
  • libcsupport/src/mount-mgr.c: New.
  • include/rtems/fs.h: Added rtems_filesystem_location_mount.
  • libcsupport/include/rtems/libio.h, libcsupport/src/mount.c: New mount interface. It is similar to Linux.
  • libcsupport/include/rtems/libio_.h: Remove the init_fs_mount_table call.
  • libcsupport/src/base_fs.c: Remove init_fs_mount_table_call. Use the new mount call. Remove setting the root node in the global pathloc. Mount does this now.
  • libcsupport/src/privateenv.c: Remove the hack to set the root mount table entry in the environment.
  • libcsupport/src/unmount.cL Free the target string.
  • libblock/src/bdpart-mount.c: New mount API.
  • libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_init.c, libfs/src/dosfs/dosfs.h, libfs/src/dosfs/msdos.h, libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_init.c, libfs/src/imfs/miniimfs_init.c, libfs/src/nfsclient/src/librtemsNfs.h, libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs.h, libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h, libnetworking/rtems/tftp.h: New mount_h API.
  • libfs/src/devfs/devfs_eval.c: Local include of extern ops.
  • libfs/src/nfsclient/src/nfs.c: New mount API. Removed the mount me call and fixed the initialisation to happen when mounting.
  • libmisc/Makefile.am, libmisc/shell/shellconfig.h: Remove mount filesystem files.
  • libmisc/fsmount/fsmount.c, libmisc/fsmount/fsmount.h: Updated to the new mount table values.
  • libmisc/shell/main_mount_ftp.c, libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_rfs.c, libmisc/shell/main_mount_tftp.c: Removed.
  • libmisc/shell/main_mount.c: Use the new mount API. Also access the file system table for the file system types.
  • libnetworking/lib/tftpDriver.c: Updated to the new mount API. Fixed to allow mounting from any mount point. Also can now have more than file system mounted.
  • sapi/include/confdefs.h: Add file system configuration support.
  • Property mode set to 100644
File size: 15.5 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_MSDOSFMT_Alias;
56extern rtems_shell_cmd_t rtems_shell_MV_Command;
57extern rtems_shell_cmd_t rtems_shell_RM_Command;
58extern rtems_shell_cmd_t rtems_shell_LN_Command;
59extern rtems_shell_cmd_t rtems_shell_MKNOD_Command;
60extern rtems_shell_cmd_t rtems_shell_UMASK_Command;
61extern rtems_shell_cmd_t rtems_shell_MOUNT_Command;
62extern rtems_shell_cmd_t rtems_shell_UNMOUNT_Command;
63extern rtems_shell_cmd_t rtems_shell_BLKSYNC_Command;
64extern rtems_shell_cmd_t rtems_shell_FDISK_Command;
65extern rtems_shell_cmd_t rtems_shell_DD_Command;
66extern rtems_shell_cmd_t rtems_shell_HEXDUMP_Command;
67extern rtems_shell_cmd_t rtems_shell_DEBUGRFS_Command;
68
69extern rtems_shell_cmd_t rtems_shell_RTC_Command;
70
71extern rtems_shell_cmd_t rtems_shell_HALT_Command;
72extern rtems_shell_cmd_t rtems_shell_CPUUSE_Command;
73extern rtems_shell_cmd_t rtems_shell_STACKUSE_Command;
74extern rtems_shell_cmd_t rtems_shell_PERIODUSE_Command;
75extern rtems_shell_cmd_t rtems_shell_WKSPACE_INFO_Command;
76extern rtems_shell_cmd_t rtems_shell_MALLOC_INFO_Command;
77#if RTEMS_NETWORKING
78  extern rtems_shell_cmd_t rtems_shell_IFCONFIG_Command;
79  extern rtems_shell_cmd_t rtems_shell_ROUTE_Command;
80  extern rtems_shell_cmd_t rtems_shell_NETSTATS_Command;
81#endif
82
83extern rtems_shell_cmd_t *rtems_shell_Initial_commands[];
84
85/*
86 *  Extern for alias commands
87 */
88extern rtems_shell_alias_t rtems_shell_DIR_Alias;
89extern rtems_shell_alias_t rtems_shell_CD_Alias;
90extern rtems_shell_alias_t rtems_shell_EXIT_Alias;
91
92extern rtems_shell_alias_t *rtems_shell_Initial_aliases[];
93
94/*
95 *  If we are configured to alias a command, then make sure the underlying
96 *  command is configured.
97 */
98
99#if !defined(CONFIGURE_SHELL_COMMANDS_ALL)
100  #if defined(CONFIGURE_SHELL_COMMANDS_DIR) && \
101      !defined(CONFIGURE_SHELL_COMMANDS_LS)
102    #define CONFIGURE_SHELL_COMMAND_LS
103  #endif
104
105  #if defined(CONFIGURE_SHELL_COMMANDS_CD) && \
106      !defined(CONFIGURE_SHELL_COMMANDS_CHDIR)
107    #define CONFIGURE_SHELL_COMMAND_CHDIR
108  #endif
109
110  #if defined(CONFIGURE_SHELL_COMMANDS_EXIT) && \
111      !defined(CONFIGURE_SHELL_COMMANDS_LOGOFF)
112    #define CONFIGURE_SHELL_COMMAND_LOGOFF
113  #endif
114#endif
115
116#if defined(CONFIGURE_SHELL_COMMANDS_INIT)
117  rtems_shell_alias_t *rtems_shell_Initial_aliases[] = {
118    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
119         !defined(CONFIGURE_SHELL_NO_COMMAND_DIR)) || \
120        defined(CONFIGURE_SHELL_COMMAND_DIR)
121      &rtems_shell_DIR_Alias,
122    #endif
123    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
124         !defined(CONFIGURE_SHELL_NO_COMMAND_CD)) || \
125        defined(CONFIGURE_SHELL_COMMAND_CD)
126      &rtems_shell_CD_Alias,
127    #endif
128    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
129         !defined(CONFIGURE_SHELL_NO_COMMAND_EXIT)) || \
130        defined(CONFIGURE_SHELL_COMMAND_EXIT)
131      &rtems_shell_EXIT_Alias,
132    #endif
133
134    /*
135     *  User defined shell aliases
136     */
137    #if defined(CONFIGURE_SHELL_USER_ALIASES)
138      CONFIGURE_SHELL_USER_ALIASES,
139    #endif
140    NULL
141  };
142
143  rtems_shell_cmd_t *rtems_shell_Initial_commands[] = {
144    /*
145     *  General comamnds that should be present
146     */
147    &rtems_shell_HELP_Command,
148    &rtems_shell_ALIAS_Command,
149    &rtems_shell_TIME_Command,
150
151    /*
152     *  Common commands that can be optional
153     */
154    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
155         !defined(CONFIGURE_SHELL_NO_COMMAND_JOEL)) || \
156        defined(CONFIGURE_SHELL_COMMAND_JOEL)
157      &rtems_shell_JOEL_Command,
158    #endif
159    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
160         !defined(CONFIGURE_SHELL_NO_COMMAND_DATE)) || \
161        defined(CONFIGURE_SHELL_COMMAND_DATE)
162      &rtems_shell_DATE_Command,
163    #endif
164    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
165         !defined(CONFIGURE_SHELL_NO_COMMAND_ECHO)) || \
166        defined(CONFIGURE_SHELL_COMMAND_ECHO)
167      &rtems_shell_ECHO_Command,
168    #endif
169    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
170         !defined(CONFIGURE_SHELL_NO_COMMAND_SLEEP)) || \
171        defined(CONFIGURE_SHELL_COMMAND_SLEEP)
172      &rtems_shell_SLEEP_Command,
173    #endif
174    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
175         !defined(CONFIGURE_SHELL_NO_COMMAND_ID)) || \
176        defined(CONFIGURE_SHELL_COMMAND_ID)
177      &rtems_shell_ID_Command,
178    #endif
179    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
180         !defined(CONFIGURE_SHELL_NO_COMMAND_TTY)) || \
181        defined(CONFIGURE_SHELL_COMMAND_TTY)
182      &rtems_shell_TTY_Command,
183    #endif
184    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
185         !defined(CONFIGURE_SHELL_NO_COMMAND_WHOAMI)) || \
186        defined(CONFIGURE_SHELL_COMMAND_WHOAMI)
187      &rtems_shell_WHOAMI_Command,
188    #endif
189    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
190         !defined(CONFIGURE_SHELL_NO_COMMAND_LOGOFF)) || \
191        defined(CONFIGURE_SHELL_COMMAND_LOGOFF)
192      &rtems_shell_LOGOFF_Command,
193    #endif
194    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
195         !defined(CONFIGURE_SHELL_NO_COMMAND_SETENV)) || \
196        defined(CONFIGURE_SHELL_COMMAND_SETENV)
197      &rtems_shell_SETENV_Command,
198    #endif
199    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
200         !defined(CONFIGURE_SHELL_NO_COMMAND_GETENV)) || \
201        defined(CONFIGURE_SHELL_COMMAND_GETENV)
202      &rtems_shell_GETENV_Command,
203    #endif
204    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
205         !defined(CONFIGURE_SHELL_NO_COMMAND_CRLENV)) || \
206        defined(CONFIGURE_SHELL_COMMAND_UNSETENV)
207      &rtems_shell_UNSETENV_Command,
208    #endif
209
210    /*
211     *  Memory printing/modification family commands
212     */
213    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
214        !defined(CONFIGURE_SHELL_NO_COMMAND_MDUMP)) || \
215        defined(CONFIGURE_SHELL_COMMAND_MDUMP)
216      &rtems_shell_MDUMP_Command,
217    #endif
218    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
219         !defined(CONFIGURE_SHELL_NO_COMMAND_WDUMP)) || \
220        defined(CONFIGURE_SHELL_COMMAND_WDUMP)
221      &rtems_shell_WDUMP_Command,
222    #endif
223    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
224         !defined(CONFIGURE_SHELL_NO_COMMAND_MEDIT)) || \
225        defined(CONFIGURE_SHELL_COMMAND_MEDIT)
226      &rtems_shell_MEDIT_Command,
227    #endif
228    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
229         !defined(CONFIGURE_SHELL_NO_COMMAND_MFILL)) || \
230        defined(CONFIGURE_SHELL_COMMAND_MFILL)
231      &rtems_shell_MFILL_Command,
232    #endif
233    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
234         !defined(CONFIGURE_SHELL_NO_COMMAND_MMOVE)) || \
235        defined(CONFIGURE_SHELL_COMMAND_MMOVE)
236      &rtems_shell_MMOVE_Command,
237    #endif
238
239    /*
240     *  File and directory commands
241     */
242    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
243         !defined(CONFIGURE_SHELL_NO_COMMAND_CP)) || \
244        defined(CONFIGURE_SHELL_COMMAND_CP)
245      &rtems_shell_CP_Command,
246    #endif
247    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
248         !defined(CONFIGURE_SHELL_NO_COMMAND_PWD)) || \
249        defined(CONFIGURE_SHELL_COMMAND_PWD)
250      &rtems_shell_PWD_Command,
251    #endif
252    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
253         !defined(CONFIGURE_SHELL_NO_COMMAND_LS)) || \
254        defined(CONFIGURE_SHELL_COMMAND_LS)
255      &rtems_shell_LS_Command,
256    #endif
257    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
258         !defined(CONFIGURE_SHELL_NO_COMMAND_CHDIR)) || \
259        defined(CONFIGURE_SHELL_COMMAND_CHDIR)
260      &rtems_shell_CHDIR_Command,
261    #endif
262    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
263         !defined(CONFIGURE_SHELL_NO_COMMAND_MKDIR)) || \
264        defined(CONFIGURE_SHELL_COMMAND_MKDIR)
265      &rtems_shell_MKDIR_Command,
266    #endif
267    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
268         !defined(CONFIGURE_SHELL_NO_COMMAND_RMDIR)) || \
269        defined(CONFIGURE_SHELL_COMMAND_RMDIR)
270      &rtems_shell_RMDIR_Command,
271    #endif
272    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
273         !defined(CONFIGURE_SHELL_NO_COMMAND_CHROOT)) || \
274        defined(CONFIGURE_SHELL_COMMAND_CHROOT)
275      &rtems_shell_CHROOT_Command,
276    #endif
277    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
278         !defined(CONFIGURE_SHELL_NO_COMMAND_CHMOD)) || \
279        defined(CONFIGURE_SHELL_COMMAND_CHMOD)
280      &rtems_shell_CHMOD_Command,
281    #endif
282    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
283         !defined(CONFIGURE_SHELL_NO_COMMAND_CAT)) || \
284        defined(CONFIGURE_SHELL_COMMAND_CAT)
285      &rtems_shell_CAT_Command,
286    #endif
287    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
288         !defined(CONFIGURE_SHELL_NO_COMMAND_MKRFS)) || \
289        defined(CONFIGURE_SHELL_COMMAND_MKRFS)
290      &rtems_shell_MKRFS_Command,
291    #endif
292    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
293         !defined(CONFIGURE_SHELL_NO_COMMAND_MSDOSFMT)) || \
294        defined(CONFIGURE_SHELL_COMMAND_MSDOSFMT)
295      &rtems_shell_MSDOSFMT_Command,
296      &rtems_shell_MSDOSFMT_Alias,
297    #endif
298    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
299         !defined(CONFIGURE_SHELL_NO_COMMAND_MV)) || \
300        defined(CONFIGURE_SHELL_COMMAND_MV)
301      &rtems_shell_MV_Command,
302    #endif
303    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
304         !defined(CONFIGURE_SHELL_NO_COMMAND_RM)) || \
305        defined(CONFIGURE_SHELL_COMMAND_RM)
306      &rtems_shell_RM_Command,
307    #endif
308    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
309         !defined(CONFIGURE_SHELL_NO_COMMAND_LN)) || \
310        defined(CONFIGURE_SHELL_COMMAND_LN)
311      &rtems_shell_LN_Command,
312    #endif
313    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
314         !defined(CONFIGURE_SHELL_NO_COMMAND_MKNOD)) || \
315        defined(CONFIGURE_SHELL_COMMAND_MKNOD)
316      &rtems_shell_MKNOD_Command,
317    #endif
318    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
319         !defined(CONFIGURE_SHELL_NO_COMMAND_UMASK)) || \
320        defined(CONFIGURE_SHELL_COMMAND_UMASK)
321      &rtems_shell_UMASK_Command,
322    #endif
323    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
324         !defined(CONFIGURE_SHELL_NO_COMMAND_MOUNT)) || \
325        defined(CONFIGURE_SHELL_COMMAND_MOUNT)
326      &rtems_shell_MOUNT_Command,
327    #endif
328    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
329         !defined(CONFIGURE_SHELL_NO_COMMAND_UNMOUNT)) || \
330        defined(CONFIGURE_SHELL_COMMAND_UNMOUNT)
331      &rtems_shell_UNMOUNT_Command,
332    #endif
333    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
334         !defined(CONFIGURE_SHELL_NO_COMMAND_BLKSYNC)) || \
335        defined(CONFIGURE_SHELL_COMMAND_BLKSYNC)
336      &rtems_shell_BLKSYNC_Command,
337    #endif
338    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
339         !defined(CONFIGURE_SHELL_NO_COMMAND_FDISK)) || \
340        defined(CONFIGURE_SHELL_COMMAND_FDISK)
341      &rtems_shell_FDISK_Command,
342    #endif
343    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
344         !defined(CONFIGURE_SHELL_NO_COMMAND_DD)) || \
345        defined(CONFIGURE_SHELL_COMMAND_DD)
346      &rtems_shell_DD_Command,
347    #endif
348    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
349         !defined(CONFIGURE_SHELL_NO_COMMAND_HEXDUMP)) || \
350        defined(CONFIGURE_SHELL_COMMAND_HEXDUMP)
351      &rtems_shell_HEXDUMP_Command,
352    #endif
353    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
354         !defined(CONFIGURE_SHELL_NO_COMMAND_DEBUGRFS)) || \
355        defined(CONFIGURE_SHELL_COMMAND_DEBUGRFS)
356      &rtems_shell_DEBUGRFS_Command,
357    #endif
358
359    /*
360     *  RTEMS Related commands
361     */
362    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
363         !defined(CONFIGURE_SHELL_NO_COMMAND_HALT)) || \
364        defined(CONFIGURE_SHELL_COMMAND_HALT)
365      &rtems_shell_HALT_Command,
366    #endif
367    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
368         !defined(CONFIGURE_SHELL_NO_COMMAND_CPUUSE)) || \
369        defined(CONFIGURE_SHELL_COMMAND_CPUUSE)
370      &rtems_shell_CPUUSE_Command,
371    #endif
372    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
373         !defined(CONFIGURE_SHELL_NO_COMMAND_STACKUSE)) || \
374        defined(CONFIGURE_SHELL_COMMAND_STACKUSE)
375      &rtems_shell_STACKUSE_Command,
376    #endif
377    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
378         !defined(CONFIGURE_SHELL_NO_COMMAND_PERIODUSE)) || \
379        defined(CONFIGURE_SHELL_COMMAND_PERIODUSE)
380      &rtems_shell_PERIODUSE_Command,
381    #endif
382    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
383         !defined(CONFIGURE_SHELL_NO_COMMAND_WKSPACE_INFO)) || \
384        defined(CONFIGURE_SHELL_COMMAND_WKSPACE_INFO)
385      &rtems_shell_WKSPACE_INFO_Command,
386    #endif
387
388    /*
389     *  Malloc family commands
390     */
391    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) && \
392         !defined(CONFIGURE_SHELL_NO_COMMAND_MALLOC_INFO)) || \
393        defined(CONFIGURE_SHELL_COMMAND_MALLOC_INFO)
394      &rtems_shell_MALLOC_INFO_Command,
395    #endif
396
397    /*
398     *  Network related commands
399     */
400    #if RTEMS_NETWORKING
401      #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
402           !defined(CONFIGURE_SHELL_NO_COMMAND_IFCONFIG)) || \
403          defined(CONFIGURE_SHELL_COMMAND_IFCONFIG)
404        &rtems_shell_IFCONFIG_Command,
405      #endif
406
407      #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
408           !defined(CONFIGURE_SHELL_NO_COMMAND_ROUTE)) || \
409          defined(CONFIGURE_SHELL_COMMAND_ROUTE)
410        &rtems_shell_ROUTE_Command,
411      #endif
412
413      #if (defined(CONFIGURE_SHELL_COMMANDS_ALL_NETWORKING) && \
414           !defined(CONFIGURE_SHELL_NO_COMMAND_NETSTATS)) || \
415          defined(CONFIGURE_SHELL_COMMAND_NETSTATS)
416        &rtems_shell_NETSTATS_Command,
417      #endif
418    #endif
419
420    /* Miscanellous shell commands */
421    #if (defined(CONFIGURE_SHELL_COMMANDS_ALL) \
422          && !defined(CONFIGURE_SHELL_NO_COMMAND_RTC)) \
423        || defined(CONFIGURE_SHELL_COMMAND_RTC)
424      &rtems_shell_RTC_Command,
425    #endif
426
427    /*
428     *  User defined shell commands
429     */
430    #if defined(CONFIGURE_SHELL_USER_COMMANDS)
431      CONFIGURE_SHELL_USER_COMMANDS,
432    #endif
433    NULL
434  };
435
436#endif
437
438#endif
Note: See TracBrowser for help on using the repository browser.