summaryrefslogtreecommitdiffstats
path: root/c/src/lib/include/rtems (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2001-08-17 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-08-171-0/+8
| | | | | | | | * include/rtems/libio_.h: Added ifdef to ensure that LOGIN_NAME_MAX is defined on GNU/Linux (RedHat 6.2 distribution). * libc/unixlibc.c: Added stubs for rtems_io_register_name() and rtems_io_lookup_name() so UNIX port would compile the IO manager sptest that registers /dev/null.
* 2001-08-16 Mike Siers <mikes@poliac.com>Joel Sherrill2001-08-161-0/+14
| | | | | * include/rtems/termiostypes.h, include/sys/ioccom.h: Update of PPPD to 2.3.11 from 2.3.5 touched these files.
* 2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>Joel Sherrill2001-05-241-0/+18
| | | | | * include/rtems/libio_.h: Added login name, uid, gid, euid, and egid so they can be part of the private environment.
* 2001-04-20 Correo Fernando-ruiz <correo@fernando-ruiz.com>Joel Sherrill2001-04-201-0/+3
| | | | | | | | | | | | | | | | | * include/rtems/libio_.h, libc/chroot.c, libc/privateenv.c: Private environment and chroot() enhancements and fixes. Comments: + privateenv has been modified to let at chroot() to be more POSIX like Sergei Organov recommended. + A task owner lets that rtems_set_private_env() will be called twice or more times. + chroot() can be called without a previous rtems_set_private_env(); (transpanrently) + The second call of rtems_set_private_env() makes a internal chroot("/") into global imfs_root. + chroot() runs like chdir() without a previous chdir("/") with the global root. + The current directory can be in a wrong place like Linux and many other Unices.
* 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-051-3/+3
| | | | | | | * include/zilog/Makefile.am, include/Makefile.am, include/motorola/Makefile.am, include/sys/Makefile.am include/rtems/Makefile.am: Apply include_*HEADERS instead of H_FILES.
* 2001-01-25 Fernando Ruiz <fernando.ruiz@ctv.es>Joel Sherrill2001-01-251-9/+20
| | | | | | | | | | * Alternate email is correo@fernando-ruiz.com * libc/privateenv.c: New file. * include/rtems/libio_.h, libc/Makefile.am, libc/base_fs.c, libc/unmount.c: Moved default umask, current working directory, root, and links followed count into a structure "user environment" that can then be treated as a unit. This enable giving unique copies of these to individual threads or collection of threads.
* 2000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-301-1/+1
| | | | | | | * include/rtems/Makefile.am: Added termiostypes.h. * libc/Makefile.am: Removed termiostypes.h. * libc/termios.c: Changed include of "termiostypes.h" to <rtems/termiostypes.h> since that is an RTEMS specific header file.
* 2000-11-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-271-0/+163
| | | | * libc/termiostypes.h: New file -- missed in earlier commits.
* 2000-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-013-2/+25
| | | | | | | | | | | | | | | | | | | | | | | * include/Makefile.am, include/rtems/libio_.h, libc/Makefile.am, libc/assoc.c, libc/assocnamebad.c, libc/base_fs.c, libc/cfsetispeed.c, libc/cfsetospeed.c, libc/chdir.c, libc/chmod.c, libc/chown.c, libc/close.c, libc/closedir.c, libc/dup2.c, libc/error.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c, libc/fpathconf.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c, libc/getdents.c, libc/ioctl.c, libc/libio.c, libc/libio_sockets.c, libc/link.c, libc/lseek.c, libc/malloc.c, libc/mallocfreespace.c, libc/mknod.c, libc/mount.c, libc/newlibc.c, libc/no_libc.c, libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c, libc/tcsetattr.c, libc/telldir.c, libc/ttyname.c, libc/ttyname_r.c, libc/umask.c, libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c: assoc.h, error.h, libio_.h, libio.h, and libcsupport.h moved from libc to lib/include/rtems and now must be referenced as <rtems/XXX.h>. * include/rtems/Makefile.am, include/rtems/.cvsignore: New file. * include/rtems/assoc.h, include/rtems/error.h, include/rtems/libcsupport.h, include/rtems/libio.h, include/rtems/libio_.h: New/moved files.
* 2000-10-24 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-251-4/+0
| | | | | | | | | | | | * 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.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-181-0/+1
| | | | | | | * libc/Makefile.am: Added mallocfreespace.c. * libc/mallocfreespace.c: New file based on work by Nick Simon <Nick.SIMON@syntegra.bt.co.uk> which he included in malloc.c. * libc/libcsupport.h: Added prototype for malloc_free_space().
* 2000-09-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-09-282-32/+32
| | | | | | | | | | | | | | | * libc/libio.h (rtems_filesystem_file_handlers_r, rtems_filesystem_operations_table): Added _h to all structure fields to indicate they are "handlers". * libc/libio_.h, libc/chdir.c, libc/chmod.c, libc/chown.c, libc/close.c, libc/eval.c, libc/fchdir.c, libc/fchmod.c, libc/fcntl.c, libc/fdatasync.c, libc/fstat.c, libc/fsync.c, libc/ftruncate.c, libc/getdents.c, libc/imfs_eval.c, libc/imfs_unlink.c, libc/ioctl.c, libc/ioman.c, libc/link.c, libc/lseek.c, libc/mknod.c, libc/mount.c, libc/open.c, libc/read.c, libc/readlink.c, libc/rmdir.c, libc/stat.c, libc/symlink.c, libc/unlink.c, libc/unmount.c, libc/utime.c, libc/write.c: Modified to reflect above name change.
* 2000-08-11 Chris Johns <ccj@acm.org>Joel Sherrill2000-08-111-2/+8
| | | | | | | | | | | | | | | * libc/chmod.c: Return ENOTSUP if filesystem does not have handler. * libc/eval.c: Ditto. * libc/fcntl.c: Ditto. * libc/fsync.c: Ditto. * libc/ioctl.c: Ditto. * libc/ioman.c: Ditto. * libc/link.c: Ditto. * libc/memfile.c: Ditto. * libc/mknod.c: Ditto. * libc/symlink.c: Ditto. * libc/libio.h(rtems_filesystem_dev_major_t): New macro. * libc/libio.h(rtems_filesystem_dev_minor_t): New macro.
* *** empty log message ***Joel Sherrill2000-06-141-9/+1
|
* Temporary hack to compile. Need to probably address definitionJoel Sherrill2000-06-131-0/+1
| | | | of all FIO constants and conflict with libnetworking code.
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-121-0/+9
|
* Updated copyright notice.Joel Sherrill1999-11-173-6/+3
|
* Moved the rmnod callback from the operations table to the handler table.Jennifer Averett1999-10-291-5/+5
|
* Joel added a table of mount entry requests to be processed duringJennifer Averett1999-10-291-0/+14
| | | | initialization.
* Added include of libio.h so this would compile when posix is disabled.Joel Sherrill1999-10-261-0/+1
|
* Added initial cut at miniIMFS which leaves out memfile and directoryJoel Sherrill1999-10-261-1/+1
| | | | | readdir support. The next step is to add a mount table and configure either the miniIMFS or the full IMFS at the application level.
* Split null handlers table to own file and renamed.Joel Sherrill1999-10-121-1/+2
| | | | Renamed IMFS handler tables to include IMFS prefix.
* Added rtems_filesystem_freenode() macro and added calls at appropriateJoel Sherrill1999-10-121-0/+12
| | | | | places to make sure memory allocated for filesystem specifif nodes gets freed.
* Fixed spacing.Joel Sherrill1999-10-121-1/+1
|
* After comments D. V. Henkel-Wallace <gumby@zembu.com>, the interface toJoel Sherrill1999-06-151-1/+1
| | | | mount() was changed to avoid the use of a string as the options.
* RTEMS_FILESYSTEM_READ_WRITE_ONLY changed to RTEMS_FILESYSTEM_READ_WRITEJoel Sherrill1999-06-141-1/+1
| | | | for simplicity.
* Patch from Eric Norum <eric@skatter.usask.ca> that adds externalJoel Sherrill1999-03-191-0/+6
| | | | fcntl support and an external fcntl handler for sockets.
* Use proper include for libio.h.Joel Sherrill1999-03-161-4/+1
|
* Added F_GETFL support so the fdopen() implementation in newlib 1.8.1Joel Sherrill1999-03-061-0/+4
| | | | | | | | would work. At the same time, the initial implementation of F_SETFL was added. A support routine was added to convert internal libio flags back to the POSIX style. Eventually the internal representation should be eliminated in the interest of simplicity and code reduction. This problem was reported by Jake Janovetz <janovetz@tempest.ece.uiuc.edu>.
* Patch from Eric Norum <eric@skatter.usask.ca> to eliminate externalJoel Sherrill1999-03-012-45/+0
| | | | | IO handlers scheme that was implemented originally just to support sockets. The file system IO switch is more general and works fine.
* More general fix based on bug report and patch from Ian Lance TaylorJoel Sherrill1999-01-201-1/+15
| | | | | | | | | | <ian@airs.com> to fix this problem: There is a small bug in __rtems_close in c/src/lib/libc/libio.c. It does not check whether the file descriptor it is passed is open. This can cause it to make a null dereference if it is passed a file descriptor which is in the valid range but which was not opened, or which was already closed.
* Merged Eric Norum's select patch that was based on 4.0 and resolvedJoel Sherrill1998-12-102-1/+6
| | | | all conflicts.
* Modifications for RTEMS_UNIX.Jennifer Averett1998-12-032-0/+6
|
* Added base version of file system infrastructure. This includes a majorJoel Sherrill1998-11-232-61/+738
| | | | | | | | | | | | | | | | | | | | | | | | overhaul of the RTEMS system call interface. This base file system is the "In-Memory File System" aka IMFS. The design and implementation was done by the following people: + Joel Sherrill (joel@OARcorp.com) + Jennifer Averett (jennifer@OARcorp.com) + Steve "Mr Mount" Salitasc (salitasc@OARcorp.com) + Kerwin Wade (wade@OARcorp.com) PROBLEMS ======== + It is VERY likely that merging this will break the UNIX port. This can/will be fixed. + There is likely some reentrancy/mutual exclusion needed. + Eventually, there should be a "mini-IMFS" description table to eliminate links, symlinks, etc to save memory. All you need to have "classic RTEMS" functionality is technically directories and device IO. All the rest could be left out to save memory.
* Patch from Aleksey (Quality Quorum <qqi@world.std.com>):Joel Sherrill1998-09-231-1/+1
| | | | | | | | | | | 1. Finally fixes raw interrupts for pc386 2. Makes some minor cleanup in console and startup 3. Makes rtems_termios_dequeue_characters() to return count of outstanding chars - it allows to simplify console isrs a little bit. 4. pc386 uart modified to be friendlier to termios parameter changes, to have minor performance improvement and to take advantage of of above termios modification.
* Patch to add return status to rtems_termios_enqueue_raw_characters fromJoel Sherrill1998-05-201-1/+1
| | | | | | | | | | | | | | | Eric Norum per request from Geoffroy Montel: > The rtems_termios_enqueue_raw_characters function type is void. > The problem is that I can't return an error message if the input > buffer is full. > Could we add a return value? Sure, but what would you do with the overflow indication? POSIX says, ``when the input limit is reached, the saved characters are thrown away without notice''. Anyhow, the change is so small I've done it and enclosed the patch.
* Added tcdrain() from Eric NorumJoel Sherrill1998-05-201-0/+1
|
* Removed prototype of rtems_libio_config() per Chris Johns' eagle eye.Joel Sherrill1998-05-191-1/+0
|
* Patch from Eric Norum to switch to termios callback structure, addJoel Sherrill1998-05-041-10/+20
| | | | | support for device driver support on tcsetattr(), and hardware flow control callbacks.
* Removed isatty() since we are now using newlib's implementation asJoel Sherrill1998-04-031-1/+0
| | | | a result of enabling the newlib POSIX directory.
* updated copyright to 1998Joel Sherrill1998-02-171-1/+1
|
* Corrected prototypes for all termios console write driver entries toJoel Sherrill1997-12-221-1/+2
| | | | properly reflect the const on the buffer pointer being passed in.
* interrupt driven change from Eric NorumJoel Sherrill1997-11-151-1/+2
|
* Fixed prototypeJoel Sherrill1997-11-101-1/+1
|
* Changed prototype of read routine.Joel Sherrill1997-10-231-1/+1
|
* New termios.c from Eric Norum.Joel Sherrill1997-10-231-0/+4
| | | | Added new entry point to add in per physical port resource requirements.
* Added termios submission from Eric Norum and Katsutoshi Shibuya.Joel Sherrill1997-10-211-2/+22
|
* Fixed typo in the pointer to the license terms.Joel Sherrill1997-10-081-2/+2
|
* Katsutoshi Shibuya (shibuya@mxb.meshnet.or.jp)of BU-Denken Co., Ltd.Joel Sherrill1997-08-011-0/+7
| | | | | | | (Sapporo, Japan) submitted the extended console driver for the MVME162LX BSP and the POSIX tcsetattr() and tcgetattr() routines. This device driver supports four serial ports, cooked IO, and provides a portable base for Zilog 8530 based console drivers.
* headers updated to reflect new style copyright notice as partJoel Sherrill1997-04-221-5/+5
| | | | of switching to the modified GNU GPL.