mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
* libblock/src/bdbuf.c: Update comments.
* libblock/src/bdpart.c, libblock/src/ide_part_table.c: Get the
device from the rdev field of the stat buf.
* libcsupport/include/rtems/libio.h: Add a path length to evalpath
handler. Add parent locations to rmmod and unlink handlers.
* libcsupport/include/rtems/libio_.h: Add a path length to
rtems_filesystem_evaluate_path. Add
rtems_filesystem_evaluate_relative_path, rtems_filesystem_dirname,
and rtems_filesystem_prefix_separators. Remove
rtems_filesystem_evaluate_parent.
* libcsupport/src/base_fs.c, libcsupport/src/chdir.c,
libcsupport/src/chmod.c, libcsupport/src/chown.c,
libcsupport/src/chroot.c, libcsupport/src/fchdir.c,
libcsupport/src/link.c, libcsupport/src/mount.c,
libcsupport/src/open.c, libcsupport/src/privateenv.c,
libcsupport/src/readlink.c, libcsupport/src/unmount.c,
libcsupport/src/utime.c, libcsupport/src/unmount.c,
libcsupport/src/utime.c, libfs/src/devfs/devfs.h,
libfs/src/devfs/devfs_eval.c, libfs/src/devfs/devstat.c,
libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_misc.c,
libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_eval.c,
libfs/src/imfs/imfs_load_tar.c, libfs/src/imfs/ioman.c,
libfs/src/pipe/pipe.c, libmisc/fsmount/fsmount.c,
libnetworking/lib/ftpfs.c: Add the length parameter to the eval
call.
* libcsupport/src/eval.c: Add rtems_filesystem_prefix_separators,
rtems_filesystem_dirname,
rtems_filesystem_evaluate_relative_path. Add the length parameter
to the eval call.
* libcsupport/src/rmdir.c: Find the parent pathloc then the node
pathloc from that node. Remove the call to find the parent given
the node pathloc.
* libcsupport/src/stat.c: Add the length parameter to the eval
call. Set the device into the rdev field.
* libcsupport/src/unlink.c: Find the parent pathloc then the node
pathloc from that node. Remove the call to find the parent given
the node pathloc.
* libfs/src/dosfs/fat.c, libfs/src/dosfs/msdos_format.c: Get the
disk device number from the stat rdev field.
* libfs/src/dosfs/msdos.h: Add the length parameter to the eval
call. Add the parent pathloc to the rmnod handler.
* libfs/src/dosfs/msdos_dir.c: Add the parent pathloc to the rmnod
handler.
* libfs/src/dosfs/msdos_eval.c: Add the length parameter to the
eval and token call.
* libfs/src/imfs/imfs_directory.c: Add the parent pathloc to the
rmnod handler.
* libfs/src/imfs/imfs_fchmod.c: Do not test the mode flags for
only the allowed flags. Add the missing flags spec'ed in the POSIX
standard.
* libfs/src/imfs/imfs_fsunmount.c, libfs/src/imfs/imfs_rmnod.c,
libfs/src/imfs/imfs_unlink.c, libfs/src/imfs/memfile.c: Add the
parent node. Currently ignored in the IMFS.
* libfs/src/imfs/imfs_stat.c: Return the device number in the rdev
field.
* libfs/src/imfs/imfs_mknod.c, libfs/src/imfs/imfs_symlink.c : Add
the length parameter to the token call.
* libfs/src/nfsclient/src/nfs.c: Add the length parameter to the
eval call and parent node to the rmnod and unlink command.
* libmisc/shell/internal.h: Remove the libc mounter decl to make
public.
* libmisc/shell/main_mount.c: Add support for hooking external
mount support for new file systems.
* libmisc/shell/shell.h: Add helper functions for the mount
command.
# # $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.