summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-26 20:17:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-26 20:17:13 +0000
commit657e1bf66b9406cd4c18af1265443e9ebf006f39 (patch)
treec56bea6d27d9a6a19ac1f139839545db8b63347c /c/src/exec/libcsupport
parentPatch from Gerwin Pfab <pb@schenk.isar.de> to leave dispatching (diff)
downloadrtems-657e1bf66b9406cd4c18af1265443e9ebf006f39.tar.bz2
Added initial cut at miniIMFS which leaves out memfile and directory
readdir support. The next step is to add a mount table and configure either the miniIMFS or the full IMFS at the application level.
Diffstat (limited to 'c/src/exec/libcsupport')
-rw-r--r--c/src/exec/libcsupport/include/rtems/libio.h2
-rw-r--r--c/src/exec/libcsupport/src/base_fs.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/c/src/exec/libcsupport/include/rtems/libio.h b/c/src/exec/libcsupport/include/rtems/libio.h
index 4cd1f3f6f6..a8c2c09090 100644
--- a/c/src/exec/libcsupport/include/rtems/libio.h
+++ b/c/src/exec/libcsupport/include/rtems/libio.h
@@ -306,7 +306,7 @@ typedef struct {
* Structure for a mount table entry.
*/
-struct rtems_filesystem_mount_table_entry_tt{
+struct rtems_filesystem_mount_table_entry_tt {
Chain_Node Node;
rtems_filesystem_location_info_t mt_point_node;
rtems_filesystem_location_info_t mt_fs_root;
diff --git a/c/src/exec/libcsupport/src/base_fs.c b/c/src/exec/libcsupport/src/base_fs.c
index e5f53c042b..ee342afad6 100644
--- a/c/src/exec/libcsupport/src/base_fs.c
+++ b/c/src/exec/libcsupport/src/base_fs.c
@@ -52,6 +52,13 @@ void rtems_filesystem_initialize( void )
init_fs_mount_table();
+ /*
+ * mount the first filesystem.
+ *
+ * NOTE: XXX This really needs to be read from a table of filesystems
+ * to mount initially and the miniIMFS needs to be shaken out.
+ */
+
status = mount(
&first_entry,
&IMFS_ops,