Changeset 7b0001f7 in rtems
- Timestamp:
- 10/25/00 16:56:11 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- b7ed82f
- Parents:
- c801aba
- Files:
-
- 1 deleted
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/exec/libcsupport/include/rtems/libio.h
rc801aba r7b0001f7 268 268 } rtems_filesystem_operations_table; 269 269 270 #define IMFS_FILE_SYSTEM IMFS_ops271 extern rtems_filesystem_operations_table IMFS_ops;272 273 274 270 /* 275 271 * Structure used to determine a location/filesystem in the tree. -
c/src/exec/libcsupport/src/Makefile.am
rc801aba r7b0001f7 12 12 ASSOCIATION_C_FILES = assoc.c assocnamebad.c 13 13 14 BASE_FS_C_FILES = base_fs.c mount.c unmount.c ioman.clibio.c \14 BASE_FS_C_FILES = base_fs.c mount.c unmount.c libio.c \ 15 15 libio_sockets.c eval.c fs_null_handlers.c 16 16 -
c/src/exec/libcsupport/src/base_fs.c
rc801aba r7b0001f7 14 14 #include <rtems.h> 15 15 #include <rtems/libio.h> 16 #include "imfs.h"17 16 #include "libio_.h" 18 17 … … 34 33 * rtems_filesystem_initialize 35 34 * 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. 38 39 */ 39 40 -
c/src/exec/libcsupport/src/mount.c
rc801aba r7b0001f7 32 32 Chain_Control rtems_filesystem_mount_table_control; 33 33 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. 56 36 */ 57 37 -
c/src/exec/libcsupport/src/unmount.c
rc801aba r7b0001f7 27 27 #include <assert.h> 28 28 29 #include "imfs.h"30 29 #include "libio_.h" 31 30 … … 100 99 /* 101 100 * Allow the file system being mounted on to do its cleanup. 102 * XXX - Did I change these correctly ??? It looks like either I did103 * 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 null105 * XXX I will step off in space when evaluating past the end of the node.106 101 */ 107 102 -
c/src/lib/ChangeLog
rc801aba r7b0001f7 1 2 2000-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. 1 13 2 14 2000-10-18 Chris Johns <ccj@acm.org> -
c/src/lib/include/rtems/libio.h
rc801aba r7b0001f7 268 268 } rtems_filesystem_operations_table; 269 269 270 #define IMFS_FILE_SYSTEM IMFS_ops271 extern rtems_filesystem_operations_table IMFS_ops;272 273 274 270 /* 275 271 * Structure used to determine a location/filesystem in the tree. -
c/src/lib/libc/Makefile.am
rc801aba r7b0001f7 12 12 ASSOCIATION_C_FILES = assoc.c assocnamebad.c 13 13 14 BASE_FS_C_FILES = base_fs.c mount.c unmount.c ioman.clibio.c \14 BASE_FS_C_FILES = base_fs.c mount.c unmount.c libio.c \ 15 15 libio_sockets.c eval.c fs_null_handlers.c 16 16 -
c/src/lib/libc/base_fs.c
rc801aba r7b0001f7 14 14 #include <rtems.h> 15 15 #include <rtems/libio.h> 16 #include "imfs.h"17 16 #include "libio_.h" 18 17 … … 34 33 * rtems_filesystem_initialize 35 34 * 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. 38 39 */ 39 40 -
c/src/lib/libc/libio.h
rc801aba r7b0001f7 268 268 } rtems_filesystem_operations_table; 269 269 270 #define IMFS_FILE_SYSTEM IMFS_ops271 extern rtems_filesystem_operations_table IMFS_ops;272 273 274 270 /* 275 271 * Structure used to determine a location/filesystem in the tree. -
c/src/lib/libc/mount.c
rc801aba r7b0001f7 32 32 Chain_Control rtems_filesystem_mount_table_control; 33 33 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. 56 36 */ 57 37 -
c/src/lib/libc/unmount.c
rc801aba r7b0001f7 27 27 #include <assert.h> 28 28 29 #include "imfs.h"30 29 #include "libio_.h" 31 30 … … 100 99 /* 101 100 * Allow the file system being mounted on to do its cleanup. 102 * XXX - Did I change these correctly ??? It looks like either I did103 * 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 null105 * XXX I will step off in space when evaluating past the end of the node.106 101 */ 107 102 -
cpukit/libcsupport/include/rtems/libio.h
rc801aba r7b0001f7 268 268 } rtems_filesystem_operations_table; 269 269 270 #define IMFS_FILE_SYSTEM IMFS_ops271 extern rtems_filesystem_operations_table IMFS_ops;272 273 274 270 /* 275 271 * Structure used to determine a location/filesystem in the tree. -
cpukit/libcsupport/src/base_fs.c
rc801aba r7b0001f7 14 14 #include <rtems.h> 15 15 #include <rtems/libio.h> 16 #include "imfs.h"17 16 #include "libio_.h" 18 17 … … 34 33 * rtems_filesystem_initialize 35 34 * 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. 38 39 */ 39 40 -
cpukit/libcsupport/src/mount.c
rc801aba r7b0001f7 32 32 Chain_Control rtems_filesystem_mount_table_control; 33 33 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. 56 36 */ 57 37 -
cpukit/libcsupport/src/unmount.c
rc801aba r7b0001f7 27 27 #include <assert.h> 28 28 29 #include "imfs.h"30 29 #include "libio_.h" 31 30 … … 100 99 /* 101 100 * Allow the file system being mounted on to do its cleanup. 102 * XXX - Did I change these correctly ??? It looks like either I did103 * 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 null105 * XXX I will step off in space when evaluating past the end of the node.106 101 */ 107 102
Note: See TracChangeset
for help on using the changeset viewer.