forked from Imagelibrary/rtems
* libcsupport/Makefile.am: Add mount-mgr.c.
* libcsupport/src/mount-mgr.c: New.
* include/rtems/fs.h: Added rtems_filesystem_location_mount.
* libcsupport/include/rtems/libio.h, libcsupport/src/mount.c: New
mount interface. It is similar to Linux.
* libcsupport/include/rtems/libio_.h: Remove the
init_fs_mount_table call.
* libcsupport/src/base_fs.c: Remove init_fs_mount_table_call. Use
the new mount call. Remove setting the root node in the global
pathloc. Mount does this now.
* libcsupport/src/privateenv.c: Remove the hack to set the root
mount table entry in the environment.
* libcsupport/src/unmount.cL Free the target string.
* libblock/src/bdpart-mount.c: New mount API.
* libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_init.c,
libfs/src/dosfs/dosfs.h, libfs/src/dosfs/msdos.h,
libfs/src/dosfs/msdos_init.c, libfs/src/imfs/imfs.h,
libfs/src/imfs/imfs_eval.c, libfs/src/imfs/imfs_init.c,
libfs/src/imfs/miniimfs_init.c,
libfs/src/nfsclient/src/librtemsNfs.h,
libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs.h,
libnetworking/lib/ftpfs.c, libnetworking/rtems/ftpfs.h,
libnetworking/rtems/tftp.h: New mount_h API.
* libfs/src/devfs/devfs_eval.c: Local include of extern ops.
* libfs/src/nfsclient/src/nfs.c: New mount API. Removed the mount
me call and fixed the initialisation to happen when mounting.
* libmisc/Makefile.am, libmisc/shell/shellconfig.h: Remove mount
filesystem files.
* libmisc/fsmount/fsmount.c, libmisc/fsmount/fsmount.h: Updated to
the new mount table values.
* libmisc/shell/main_mount_ftp.c,
libmisc/shell/main_mount_msdos.c, libmisc/shell/main_mount_rfs.c,
libmisc/shell/main_mount_tftp.c: Removed.
* libmisc/shell/main_mount.c: Use the new mount API. Also access
the file system table for the file system types.
* libnetworking/lib/tftpDriver.c: Updated to the new mount
API. Fixed to allow mounting from any mount point. Also can now
have more than file system mounted.
* sapi/include/confdefs.h: Add file system configuration support.
# # $Id$ # This is a snapshot of my attempt to fit the FreeBSD networking code into RTEMS. Things seem to be working! Things that need to be done: 1) More documentation! 2) Figure out what's still not working :-) 3) Rationalize the include files. Right now I have a special hack in the Makefile to ensure that I pick up the FreeBSD versions of the include files that are duplicated between RTEMS and FreeBSD. The network device driver source should move to the BSP source tree. 4) Have a look at all the FIXME comments. 5) Go through and make sure that all the source files are free of undesired copyright restrictions. Initial Changes =============== 19-AUG-1998 snapshot - Pulled BOOTP initialization out of rtems_glue. Applications which don't used BOOTP are now about 5k smaller. - Loopback interface is not installed by default, rather it is attached like any other interface. Saves about 0.5 kbytes. - Add rtems_bsdnet_show_if_stats(); - Moved test programs from below freebsd directory. 18-AUG-1998 snapshot - Removed some include files that were already part of RTEMS. - Cleaned up machine/types.h to prepare for inclusion in RTEMS source. - Added syslog library routines -- much simpler than KA9Q version. Sockets can be shared among tasks (as long as the send is protected by a mutex) so there's no need for a Syslog Daemon. 16-AUG-1998 snapshot - Table-driven configuration (networkconfig.h). - Cleaned up rtems_bsdnet.h. - BOOTP now retries properly -- Note to Joel: The dichotomy between RTEMS and UNIX error codes is a real pain! 14-AUG-1998 snapshot - Added dummy getprotobyname() and getprotobynum() functions. - Added socket ioctl. - Added application-level entry to manipulate routing tables. - Added non-BOOTP network initialization. 13-AUG-1998 snapshot - Changed some BOOTP addresses from sockaddr_in to inaddr; - Get DNS information from BOOTP reply. - Got DNS lookups working. Bloatware comes to RTEMS -- invoking gethostbyname() drags in and extra 40 kbytes of code! - Added hostname lookup program. 12-AUG-1998 snapshot - Added startup delay to network initialization. - More statistic-printing routines. - Added TFTP driver and test program - Modified TFTP test program to use networkconfig.h. - Removed unused include files. - Added from ftp://ftp.ca.FreeBSD.ORG/pub/FreeBSD/FreeBSD-current/src/lib/libc/net. 11-AUG-1998 snapshot. - Added getpeername() - Added M68k versions of IP checksum code - Added TCP timing program to snapshot. 02-AUG-1998 snapshot.