Changeset 7b0001f7 in rtems


Ignore:
Timestamp:
10/25/00 16:56:11 (23 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b7ed82f
Parents:
c801aba
Message:

2000-10-24 Joel Sherrill <joel@…>

  • libc/ioman.c: Moved to libfs.
  • libc/Makefile.am: Removed ioman.c as part of moving it to libfs.
  • libc/base_fs.c: Removed include of imfs.h and reworded comment to avoid being IMFS specific.
  • libc/libio.h: Removed prototype of IMFS_ops since it should not be in this file.
  • libc/mount.c: Removed IMFS specific configuration information.
  • libc/unmount.c: Removed include of imfs.h and reworded comment to avoid being IMFS specific.
Files:
1 deleted
16 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/include/rtems/libio.h

    rc801aba r7b0001f7  
    268268} rtems_filesystem_operations_table;
    269269
    270 #define IMFS_FILE_SYSTEM IMFS_ops
    271 extern rtems_filesystem_operations_table  IMFS_ops;
    272 
    273 
    274270/*
    275271 * Structure used to determine a location/filesystem in the tree.
  • c/src/exec/libcsupport/src/Makefile.am

    rc801aba r7b0001f7  
    1212ASSOCIATION_C_FILES = assoc.c assocnamebad.c
    1313
    14 BASE_FS_C_FILES = base_fs.c mount.c unmount.c ioman.c libio.c \
     14BASE_FS_C_FILES = base_fs.c mount.c unmount.c libio.c \
    1515    libio_sockets.c eval.c fs_null_handlers.c
    1616
  • c/src/exec/libcsupport/src/base_fs.c

    rc801aba r7b0001f7  
    1414#include <rtems.h>
    1515#include <rtems/libio.h>
    16 #include "imfs.h"
    1716#include "libio_.h"
    1817
     
    3433 *  rtems_filesystem_initialize
    3534 *
    36  *  Initialize the foundation of the file system with one instantiation
    37  *  of the IMFS with a single "/dev" directory in it.
     35 *  Initialize the foundation of the file system.  This is specified
     36 *  by the structure rtems_filesystem_mount_table.  The usual
     37 *  configuration is a single instantiation of the IMFS or miniIMFS with
     38 *  a single "/dev" directory in it.
    3839 */
    3940
  • c/src/exec/libcsupport/src/mount.c

    rc801aba r7b0001f7  
    3232Chain_Control rtems_filesystem_mount_table_control;
    3333
    34 #include "imfs.h"
    35 
    36 /* XXX this structure should be in an IMFS specific file */
    37 /* XXX this structure should use real constants */
    38 
    39 rtems_filesystem_limits_and_options_t IMFS_LIMITS_AND_OPTIONS = {
    40    5,   /* link_max */
    41    6,   /* max_canon */
    42    7,   /* max_input */
    43    IMFS_NAME_MAX,       /* name_max */
    44    255, /* path_max */
    45    2,   /* pipe_buf */
    46    1,   /* posix_async_io */
    47    2,   /* posix_chown_restrictions */
    48    3,   /* posix_no_trunc */
    49    4,   /* posix_prio_io */
    50    5,   /* posix_sync_io */
    51    6    /* posix_vdisable */
    52 };
    53 
    54 /*
    55  *  XXX
     34/*
     35 *  Prototypes that probably should be somewhere else.
    5636 */
    5737
  • c/src/exec/libcsupport/src/unmount.c

    rc801aba r7b0001f7  
    2727#include <assert.h>
    2828
    29 #include "imfs.h"
    3029#include "libio_.h"
    3130
     
    10099  /*
    101100   * Allow the file system being mounted on to do its cleanup.
    102    * XXX - Did I change these correctly ??? It looks like either I did
    103    * XXX   this backwards or the IMFS_unmount and IMFS_fsumount are swapped.
    104    * XXX   Add to the mt_point_node unmount to set the mt_entry back to null
    105    * XXX   I will step off in space when evaluating past the end of the node.
    106101   */
    107102
  • c/src/lib/ChangeLog

    rc801aba r7b0001f7  
     1   
     22000-10-24      Joel Sherrill <joel@OARcorp.com>
     3
     4        * libc/ioman.c: Moved to libfs.
     5        * libc/Makefile.am: Removed ioman.c as part of moving it to libfs.
     6        * libc/base_fs.c: Removed include of imfs.h and reworded comment
     7        to avoid being IMFS specific.
     8        * libc/libio.h: Removed prototype of IMFS_ops since it should
     9        not be in this file.
     10        * libc/mount.c: Removed IMFS specific configuration information.
     11        * libc/unmount.c: Removed include of imfs.h and reworded comment
     12        to avoid being IMFS specific.
    113
    2142000-10-18      Chris Johns <ccj@acm.org>
  • c/src/lib/include/rtems/libio.h

    rc801aba r7b0001f7  
    268268} rtems_filesystem_operations_table;
    269269
    270 #define IMFS_FILE_SYSTEM IMFS_ops
    271 extern rtems_filesystem_operations_table  IMFS_ops;
    272 
    273 
    274270/*
    275271 * Structure used to determine a location/filesystem in the tree.
  • c/src/lib/libc/Makefile.am

    rc801aba r7b0001f7  
    1212ASSOCIATION_C_FILES = assoc.c assocnamebad.c
    1313
    14 BASE_FS_C_FILES = base_fs.c mount.c unmount.c ioman.c libio.c \
     14BASE_FS_C_FILES = base_fs.c mount.c unmount.c libio.c \
    1515    libio_sockets.c eval.c fs_null_handlers.c
    1616
  • c/src/lib/libc/base_fs.c

    rc801aba r7b0001f7  
    1414#include <rtems.h>
    1515#include <rtems/libio.h>
    16 #include "imfs.h"
    1716#include "libio_.h"
    1817
     
    3433 *  rtems_filesystem_initialize
    3534 *
    36  *  Initialize the foundation of the file system with one instantiation
    37  *  of the IMFS with a single "/dev" directory in it.
     35 *  Initialize the foundation of the file system.  This is specified
     36 *  by the structure rtems_filesystem_mount_table.  The usual
     37 *  configuration is a single instantiation of the IMFS or miniIMFS with
     38 *  a single "/dev" directory in it.
    3839 */
    3940
  • c/src/lib/libc/libio.h

    rc801aba r7b0001f7  
    268268} rtems_filesystem_operations_table;
    269269
    270 #define IMFS_FILE_SYSTEM IMFS_ops
    271 extern rtems_filesystem_operations_table  IMFS_ops;
    272 
    273 
    274270/*
    275271 * Structure used to determine a location/filesystem in the tree.
  • c/src/lib/libc/mount.c

    rc801aba r7b0001f7  
    3232Chain_Control rtems_filesystem_mount_table_control;
    3333
    34 #include "imfs.h"
    35 
    36 /* XXX this structure should be in an IMFS specific file */
    37 /* XXX this structure should use real constants */
    38 
    39 rtems_filesystem_limits_and_options_t IMFS_LIMITS_AND_OPTIONS = {
    40    5,   /* link_max */
    41    6,   /* max_canon */
    42    7,   /* max_input */
    43    IMFS_NAME_MAX,       /* name_max */
    44    255, /* path_max */
    45    2,   /* pipe_buf */
    46    1,   /* posix_async_io */
    47    2,   /* posix_chown_restrictions */
    48    3,   /* posix_no_trunc */
    49    4,   /* posix_prio_io */
    50    5,   /* posix_sync_io */
    51    6    /* posix_vdisable */
    52 };
    53 
    54 /*
    55  *  XXX
     34/*
     35 *  Prototypes that probably should be somewhere else.
    5636 */
    5737
  • c/src/lib/libc/unmount.c

    rc801aba r7b0001f7  
    2727#include <assert.h>
    2828
    29 #include "imfs.h"
    3029#include "libio_.h"
    3130
     
    10099  /*
    101100   * Allow the file system being mounted on to do its cleanup.
    102    * XXX - Did I change these correctly ??? It looks like either I did
    103    * XXX   this backwards or the IMFS_unmount and IMFS_fsumount are swapped.
    104    * XXX   Add to the mt_point_node unmount to set the mt_entry back to null
    105    * XXX   I will step off in space when evaluating past the end of the node.
    106101   */
    107102
  • cpukit/libcsupport/include/rtems/libio.h

    rc801aba r7b0001f7  
    268268} rtems_filesystem_operations_table;
    269269
    270 #define IMFS_FILE_SYSTEM IMFS_ops
    271 extern rtems_filesystem_operations_table  IMFS_ops;
    272 
    273 
    274270/*
    275271 * Structure used to determine a location/filesystem in the tree.
  • cpukit/libcsupport/src/base_fs.c

    rc801aba r7b0001f7  
    1414#include <rtems.h>
    1515#include <rtems/libio.h>
    16 #include "imfs.h"
    1716#include "libio_.h"
    1817
     
    3433 *  rtems_filesystem_initialize
    3534 *
    36  *  Initialize the foundation of the file system with one instantiation
    37  *  of the IMFS with a single "/dev" directory in it.
     35 *  Initialize the foundation of the file system.  This is specified
     36 *  by the structure rtems_filesystem_mount_table.  The usual
     37 *  configuration is a single instantiation of the IMFS or miniIMFS with
     38 *  a single "/dev" directory in it.
    3839 */
    3940
  • cpukit/libcsupport/src/mount.c

    rc801aba r7b0001f7  
    3232Chain_Control rtems_filesystem_mount_table_control;
    3333
    34 #include "imfs.h"
    35 
    36 /* XXX this structure should be in an IMFS specific file */
    37 /* XXX this structure should use real constants */
    38 
    39 rtems_filesystem_limits_and_options_t IMFS_LIMITS_AND_OPTIONS = {
    40    5,   /* link_max */
    41    6,   /* max_canon */
    42    7,   /* max_input */
    43    IMFS_NAME_MAX,       /* name_max */
    44    255, /* path_max */
    45    2,   /* pipe_buf */
    46    1,   /* posix_async_io */
    47    2,   /* posix_chown_restrictions */
    48    3,   /* posix_no_trunc */
    49    4,   /* posix_prio_io */
    50    5,   /* posix_sync_io */
    51    6    /* posix_vdisable */
    52 };
    53 
    54 /*
    55  *  XXX
     34/*
     35 *  Prototypes that probably should be somewhere else.
    5636 */
    5737
  • cpukit/libcsupport/src/unmount.c

    rc801aba r7b0001f7  
    2727#include <assert.h>
    2828
    29 #include "imfs.h"
    3029#include "libio_.h"
    3130
     
    10099  /*
    101100   * Allow the file system being mounted on to do its cleanup.
    102    * XXX - Did I change these correctly ??? It looks like either I did
    103    * XXX   this backwards or the IMFS_unmount and IMFS_fsumount are swapped.
    104    * XXX   Add to the mt_point_node unmount to set the mt_entry back to null
    105    * XXX   I will step off in space when evaluating past the end of the node.
    106101   */
    107102
Note: See TracChangeset for help on using the changeset viewer.