summaryrefslogtreecommitdiffstats
path: root/c/src/exec/sapi
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-01 20:58:23 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-01 20:58:23 +0000
commit43f7a90fc2f6a74c46fcb2429c7536e847885401 (patch)
tree1aaf5cdc2a811c40ccf90cb5a874288565c1ea9f /c/src/exec/sapi
parentAdded name to id support routine. (diff)
downloadrtems-43f7a90fc2f6a74c46fcb2429c7536e847885401.tar.bz2
Enabled configuring mini or full IMFS.
Diffstat (limited to 'c/src/exec/sapi')
-rw-r--r--c/src/exec/sapi/include/confdefs.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/c/src/exec/sapi/include/confdefs.h b/c/src/exec/sapi/include/confdefs.h
index f64f330456..f2893231fc 100644
--- a/c/src/exec/sapi/include/confdefs.h
+++ b/c/src/exec/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
*/