summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-25 16:51:22 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-10-25 16:51:22 +0000
commita0756c9aa0d68a2f9a339524def1a064a051069f (patch)
treef695705088ef5e223942e3983d42f8f255d0385b
parent4a2faa7c451e22fa326f3debe4441223fe911005 (diff)
downloadrtems-a0756c9aa0d68a2f9a339524def1a064a051069f.tar.bz2
2000-10-24 Joel Sherrill <joel@OARcorp.com>
* src/imfs/imfs_config.c: New file containing IMFS configuration information split from libc/base_fs.c. * src/imfs/ioman.c: New file. Moved from lib/libc. Missed previously. * src/imfs/Makefile.am: Added imfs_config.c and ioman.c.
-rw-r--r--c/src/exec/libfs/ChangeLog7
-rw-r--r--c/src/exec/libfs/src/imfs/Makefile.am16
-rw-r--r--c/src/exec/libfs/src/imfs/imfs_config.c33
-rw-r--r--c/src/libfs/ChangeLog7
-rw-r--r--c/src/libfs/src/imfs/Makefile.am16
-rw-r--r--c/src/libfs/src/imfs/imfs_config.c33
-rw-r--r--cpukit/libfs/ChangeLog7
-rw-r--r--cpukit/libfs/src/imfs/Makefile.am16
-rw-r--r--cpukit/libfs/src/imfs/imfs_config.c33
9 files changed, 144 insertions, 24 deletions
diff --git a/c/src/exec/libfs/ChangeLog b/c/src/exec/libfs/ChangeLog
index c17b7a6db5..3d20de9fc7 100644
--- a/c/src/exec/libfs/ChangeLog
+++ b/c/src/exec/libfs/ChangeLog
@@ -1,3 +1,10 @@
+2000-10-24 Joel Sherrill <joel@OARcorp.com>
+
+ * src/imfs/imfs_config.c: New file containing IMFS configuration
+ information split from libc/base_fs.c.
+ * src/imfs/ioman.c: New file. Moved from lib/libc. Missed previously.
+ * src/imfs/Makefile.am: Added imfs_config.c and ioman.c.
+
2000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, configure.in: Introduce GNU canonicalization to libfs/.
diff --git a/c/src/exec/libfs/src/imfs/Makefile.am b/c/src/exec/libfs/src/imfs/Makefile.am
index 11446247ca..0f9eea0298 100644
--- a/c/src/exec/libfs/src/imfs/Makefile.am
+++ b/c/src/exec/libfs/src/imfs/Makefile.am
@@ -7,14 +7,14 @@ AUTOMAKE_OPTIONS = foreign 1.4
LIBNAME = libimfs
LIB = ${ARCH}/${LIBNAME}.a
-IMFS_C_FILES = imfs_chown.c imfs_creat.c imfs_directory.c imfs_eval.c \
- imfs_free.c imfs_fsunmount.c imfs_gtkn.c imfs_init.c imfs_initsupp.c \
- imfs_link.c imfs_mknod.c imfs_mount.c imfs_fchmod.c imfs_unlink.c \
- imfs_unmount.c imfs_utime.c imfs_ntype.c imfs_stat.c imfs_getchild.c \
- memfile.c deviceio.c imfs_handlers_device.c imfs_handlers_directory.c \
- imfs_handlers_link.c imfs_handlers_memfile.c imfs_debug.c imfs_rmnod.c \
- imfs_symlink.c imfs_readlink.c imfs_fdatasync.c imfs_fcntl.c \
- miniimfs_init.c
+IMFS_C_FILES = imfs_chown.c imfs_config.c imfs_creat.c imfs_directory.c \
+ imfs_eval.c imfs_free.c imfs_fsunmount.c imfs_gtkn.c imfs_init.c \
+ imfs_initsupp.c imfs_link.c imfs_mknod.c imfs_mount.c imfs_fchmod.c \
+ imfs_unlink.c imfs_unmount.c imfs_utime.c imfs_ntype.c imfs_stat.c \
+ imfs_getchild.c memfile.c deviceio.c imfs_handlers_device.c \
+ imfs_handlers_directory.c imfs_handlers_link.c imfs_handlers_memfile.c \
+ imfs_debug.c imfs_rmnod.c imfs_symlink.c imfs_readlink.c imfs_fdatasync.c \
+ imfs_fcntl.c ioman.c miniimfs_init.c
UNIX_C_FILES = imfs_unixstub.c
diff --git a/c/src/exec/libfs/src/imfs/imfs_config.c b/c/src/exec/libfs/src/imfs/imfs_config.c
new file mode 100644
index 0000000000..febbb605d0
--- /dev/null
+++ b/c/src/exec/libfs/src/imfs/imfs_config.c
@@ -0,0 +1,33 @@
+/*
+ * COPYRIGHT (c) 1989-1999.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include <rtems.h>
+#include "libio_.h"
+#include "imfs.h"
+
+/* XXX this structure should use real constants */
+
+rtems_filesystem_limits_and_options_t IMFS_LIMITS_AND_OPTIONS = {
+ 5, /* link_max */
+ 6, /* max_canon */
+ 7, /* max_input */
+ IMFS_NAME_MAX, /* name_max */
+ 255, /* path_max */
+ 2, /* pipe_buf */
+ 1, /* posix_async_io */
+ 2, /* posix_chown_restrictions */
+ 3, /* posix_no_trunc */
+ 4, /* posix_prio_io */
+ 5, /* posix_sync_io */
+ 6 /* posix_vdisable */
+};
+
+
diff --git a/c/src/libfs/ChangeLog b/c/src/libfs/ChangeLog
index c17b7a6db5..3d20de9fc7 100644
--- a/c/src/libfs/ChangeLog
+++ b/c/src/libfs/ChangeLog
@@ -1,3 +1,10 @@
+2000-10-24 Joel Sherrill <joel@OARcorp.com>
+
+ * src/imfs/imfs_config.c: New file containing IMFS configuration
+ information split from libc/base_fs.c.
+ * src/imfs/ioman.c: New file. Moved from lib/libc. Missed previously.
+ * src/imfs/Makefile.am: Added imfs_config.c and ioman.c.
+
2000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, configure.in: Introduce GNU canonicalization to libfs/.
diff --git a/c/src/libfs/src/imfs/Makefile.am b/c/src/libfs/src/imfs/Makefile.am
index 11446247ca..0f9eea0298 100644
--- a/c/src/libfs/src/imfs/Makefile.am
+++ b/c/src/libfs/src/imfs/Makefile.am
@@ -7,14 +7,14 @@ AUTOMAKE_OPTIONS = foreign 1.4
LIBNAME = libimfs
LIB = ${ARCH}/${LIBNAME}.a
-IMFS_C_FILES = imfs_chown.c imfs_creat.c imfs_directory.c imfs_eval.c \
- imfs_free.c imfs_fsunmount.c imfs_gtkn.c imfs_init.c imfs_initsupp.c \
- imfs_link.c imfs_mknod.c imfs_mount.c imfs_fchmod.c imfs_unlink.c \
- imfs_unmount.c imfs_utime.c imfs_ntype.c imfs_stat.c imfs_getchild.c \
- memfile.c deviceio.c imfs_handlers_device.c imfs_handlers_directory.c \
- imfs_handlers_link.c imfs_handlers_memfile.c imfs_debug.c imfs_rmnod.c \
- imfs_symlink.c imfs_readlink.c imfs_fdatasync.c imfs_fcntl.c \
- miniimfs_init.c
+IMFS_C_FILES = imfs_chown.c imfs_config.c imfs_creat.c imfs_directory.c \
+ imfs_eval.c imfs_free.c imfs_fsunmount.c imfs_gtkn.c imfs_init.c \
+ imfs_initsupp.c imfs_link.c imfs_mknod.c imfs_mount.c imfs_fchmod.c \
+ imfs_unlink.c imfs_unmount.c imfs_utime.c imfs_ntype.c imfs_stat.c \
+ imfs_getchild.c memfile.c deviceio.c imfs_handlers_device.c \
+ imfs_handlers_directory.c imfs_handlers_link.c imfs_handlers_memfile.c \
+ imfs_debug.c imfs_rmnod.c imfs_symlink.c imfs_readlink.c imfs_fdatasync.c \
+ imfs_fcntl.c ioman.c miniimfs_init.c
UNIX_C_FILES = imfs_unixstub.c
diff --git a/c/src/libfs/src/imfs/imfs_config.c b/c/src/libfs/src/imfs/imfs_config.c
new file mode 100644
index 0000000000..febbb605d0
--- /dev/null
+++ b/c/src/libfs/src/imfs/imfs_config.c
@@ -0,0 +1,33 @@
+/*
+ * COPYRIGHT (c) 1989-1999.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include <rtems.h>
+#include "libio_.h"
+#include "imfs.h"
+
+/* XXX this structure should use real constants */
+
+rtems_filesystem_limits_and_options_t IMFS_LIMITS_AND_OPTIONS = {
+ 5, /* link_max */
+ 6, /* max_canon */
+ 7, /* max_input */
+ IMFS_NAME_MAX, /* name_max */
+ 255, /* path_max */
+ 2, /* pipe_buf */
+ 1, /* posix_async_io */
+ 2, /* posix_chown_restrictions */
+ 3, /* posix_no_trunc */
+ 4, /* posix_prio_io */
+ 5, /* posix_sync_io */
+ 6 /* posix_vdisable */
+};
+
+
diff --git a/cpukit/libfs/ChangeLog b/cpukit/libfs/ChangeLog
index c17b7a6db5..3d20de9fc7 100644
--- a/cpukit/libfs/ChangeLog
+++ b/cpukit/libfs/ChangeLog
@@ -1,3 +1,10 @@
+2000-10-24 Joel Sherrill <joel@OARcorp.com>
+
+ * src/imfs/imfs_config.c: New file containing IMFS configuration
+ information split from libc/base_fs.c.
+ * src/imfs/ioman.c: New file. Moved from lib/libc. Missed previously.
+ * src/imfs/Makefile.am: Added imfs_config.c and ioman.c.
+
2000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am, configure.in: Introduce GNU canonicalization to libfs/.
diff --git a/cpukit/libfs/src/imfs/Makefile.am b/cpukit/libfs/src/imfs/Makefile.am
index 11446247ca..0f9eea0298 100644
--- a/cpukit/libfs/src/imfs/Makefile.am
+++ b/cpukit/libfs/src/imfs/Makefile.am
@@ -7,14 +7,14 @@ AUTOMAKE_OPTIONS = foreign 1.4
LIBNAME = libimfs
LIB = ${ARCH}/${LIBNAME}.a
-IMFS_C_FILES = imfs_chown.c imfs_creat.c imfs_directory.c imfs_eval.c \
- imfs_free.c imfs_fsunmount.c imfs_gtkn.c imfs_init.c imfs_initsupp.c \
- imfs_link.c imfs_mknod.c imfs_mount.c imfs_fchmod.c imfs_unlink.c \
- imfs_unmount.c imfs_utime.c imfs_ntype.c imfs_stat.c imfs_getchild.c \
- memfile.c deviceio.c imfs_handlers_device.c imfs_handlers_directory.c \
- imfs_handlers_link.c imfs_handlers_memfile.c imfs_debug.c imfs_rmnod.c \
- imfs_symlink.c imfs_readlink.c imfs_fdatasync.c imfs_fcntl.c \
- miniimfs_init.c
+IMFS_C_FILES = imfs_chown.c imfs_config.c imfs_creat.c imfs_directory.c \
+ imfs_eval.c imfs_free.c imfs_fsunmount.c imfs_gtkn.c imfs_init.c \
+ imfs_initsupp.c imfs_link.c imfs_mknod.c imfs_mount.c imfs_fchmod.c \
+ imfs_unlink.c imfs_unmount.c imfs_utime.c imfs_ntype.c imfs_stat.c \
+ imfs_getchild.c memfile.c deviceio.c imfs_handlers_device.c \
+ imfs_handlers_directory.c imfs_handlers_link.c imfs_handlers_memfile.c \
+ imfs_debug.c imfs_rmnod.c imfs_symlink.c imfs_readlink.c imfs_fdatasync.c \
+ imfs_fcntl.c ioman.c miniimfs_init.c
UNIX_C_FILES = imfs_unixstub.c
diff --git a/cpukit/libfs/src/imfs/imfs_config.c b/cpukit/libfs/src/imfs/imfs_config.c
new file mode 100644
index 0000000000..febbb605d0
--- /dev/null
+++ b/cpukit/libfs/src/imfs/imfs_config.c
@@ -0,0 +1,33 @@
+/*
+ * COPYRIGHT (c) 1989-1999.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.OARcorp.com/rtems/license.html.
+ *
+ * $Id$
+ */
+
+#include <rtems.h>
+#include "libio_.h"
+#include "imfs.h"
+
+/* XXX this structure should use real constants */
+
+rtems_filesystem_limits_and_options_t IMFS_LIMITS_AND_OPTIONS = {
+ 5, /* link_max */
+ 6, /* max_canon */
+ 7, /* max_input */
+ IMFS_NAME_MAX, /* name_max */
+ 255, /* path_max */
+ 2, /* pipe_buf */
+ 1, /* posix_async_io */
+ 2, /* posix_chown_restrictions */
+ 3, /* posix_no_trunc */
+ 4, /* posix_prio_io */
+ 5, /* posix_sync_io */
+ 6 /* posix_vdisable */
+};
+
+