diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-01 20:58:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-01 20:58:23 +0000 |
commit | 43f7a90fc2f6a74c46fcb2429c7536e847885401 (patch) | |
tree | 1aaf5cdc2a811c40ccf90cb5a874288565c1ea9f /cpukit | |
parent | Added name to id support routine. (diff) | |
download | rtems-43f7a90fc2f6a74c46fcb2429c7536e847885401.tar.bz2 |
Enabled configuring mini or full IMFS.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/sapi/include/confdefs.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h index f64f330456..f2893231fc 100644 --- a/cpukit/sapi/include/confdefs.h +++ b/cpukit/sapi/include/confdefs.h @@ -51,6 +51,35 @@ unsigned32 rtems_libio_number_iops = CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS; #endif /* + * Mount Table Configuration + */ + +#include <imfs.h> + +#ifdef CONFIGURE_INIT + +#ifndef CONFIGURE_HAS_OWN_MOUNT_TABLE +rtems_filesystem_mount_table_t configuration_mount_table = { +#define CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM /* XXX for now */ +#ifdef CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM + &IMFS_ops, +#else /* using miniIMFS as base filesystem */ + &miniIMFS_ops, +#endif + RTEMS_FILESYSTEM_READ_WRITE, + NULL, + NULL +}; + +rtems_filesystem_mount_table_t + *rtems_filesystem_mount_table = &configuration_mount_table; +int rtems_filesystem_mount_table_size = 1; +#endif + +#endif + + +/* * Stack Checker Requirements */ |