From a0756c9aa0d68a2f9a339524def1a064a051069f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 25 Oct 2000 16:51:22 +0000 Subject: 2000-10-24 Joel Sherrill * 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. --- c/src/exec/libfs/ChangeLog | 7 +++++++ c/src/exec/libfs/src/imfs/Makefile.am | 16 ++++++++-------- c/src/exec/libfs/src/imfs/imfs_config.c | 33 +++++++++++++++++++++++++++++++++ c/src/libfs/ChangeLog | 7 +++++++ c/src/libfs/src/imfs/Makefile.am | 16 ++++++++-------- c/src/libfs/src/imfs/imfs_config.c | 33 +++++++++++++++++++++++++++++++++ cpukit/libfs/ChangeLog | 7 +++++++ cpukit/libfs/src/imfs/Makefile.am | 16 ++++++++-------- cpukit/libfs/src/imfs/imfs_config.c | 33 +++++++++++++++++++++++++++++++++ 9 files changed, 144 insertions(+), 24 deletions(-) create mode 100644 c/src/exec/libfs/src/imfs/imfs_config.c create mode 100644 c/src/libfs/src/imfs/imfs_config.c create mode 100644 cpukit/libfs/src/imfs/imfs_config.c 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 + + * 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 * 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 +#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 + + * 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 * 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 +#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 + + * 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 * 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 +#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 */ +}; + + -- cgit v1.2.3