summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2000-11-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-11-101-0/+2
| | | | * libc/libio.c: Special treatment of O_NDELAY for Cygwin.
* 2000-11-01 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-0154-1056/+49
| | | | | | | | | | | | | | | | | | | | | | | * 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-256-140/+6
| | | | | | | | | | | | * 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 Chris Johns <ccj@acm.org>Joel Sherrill2000-10-1835-4628/+3
| | | | | | | | | | | | | | | | | * libfs created. * libc/deviceio.c, libc/imfs_getchild.c, libc/imfs_readlink.c, libc/imfs.h, libc/imfs_gtkn.c, libc/imfs_rmnod.c, libc/imfs_chown.c, libc/imfs_handlers_device.c, libc/imfs_stat.c, libc/imfs_creat.c, libc/imfs_handlers_directory.c, libc/imfs_symlink.c, libc/imfs_debug.c, libc/imfs_handlers_link.c, libc/imfs_unixstub.c, libc/imfs_directory.c, libc/imfs_handlers_memfile.c, libc/imfs_unlink.c, libc/imfs_eval.c, libc/imfs_init.c, libc/imfs_unmount.c, libc/imfs_fchmod.c, libc/imfs_initsupp.c, libc/imfs_utime.c, libc/imfs_fcntl.c, libc/imfs_link.c, libc/memfile.c, libc/imfs_fdatasync.c, libc/imfs_mknod.c, libc/miniimfs_init.c, libc/imfs_free.c, libc/imfs_mount.c, libc/imfs_fsunmount.c, libc/imfs_ntype.c: Moved to libfs/src/imfs. * Makefile.am: Modified to reflect above.
* 2000-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-183-1/+42
| | | | | | | * 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-10-18 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-181-4/+6
| | | | | | | * libc/fcntl.c: Do not require every filesystem to have an fcntl() handler. Most fcntl() operations can be performed with no filesystem support. * ChangeLog: Corrected comment.
* 2000-09-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-09-2833-119/+119
| | | | | | | | | | | | | | | * 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-09-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-09-221-1/+1
| | | | * libc/newlibc.c: Removed _A29K specific ifdef.
* 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-09-051-4/+5
| | | | * libc/Makefile.am: Include compile.am
* 2000-09-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-09-051-0/+1
| | | | * libio.c: Added O_NONBLOCK to list of flags.
* 2000-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-301-1/+1
| | | | | | * Many files: Moved posix/include/rtems/posix/seterr.h to score/include/rtems/seterr.h so it would be available within all APIs.
* 2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2000-08-251-1/+2
| | | | * libc/fs_null_handlers.c: Added missing rmnod entry.
* 2000-08-25 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2000-08-254-78/+94
| | | | | * libc/isatty.c, libc/imfs_handlers_directory.c, libc/creat.c, libc/imfs_directory.c: Fixed style issues.
* 2000-08-11 Chris Johns <ccj@acm.org>Joel Sherrill2000-08-1111-7/+58
| | | | | | | | | | | | | | | * 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.
* IEEEJoel Sherrill2000-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ==== -4 = {d = -4, i = {0xc0100000, 0x0}} s=1 e=0x80 m=0x100000 (0x0900000) -3 = {d = -3, i = {0xc0080000, 0x0}} s=1 e=0x80 m=0x080000 (0x0880000) -2 = {d = -2, i = {0xc0000000, 0x0}} s=1 e=0x80 m=0x000000 (0x0800000) -1 = {d = -1, i = {0xbff00000, 0x0}} s=1 e=0x7f m=0x000000 (0x0800000) 0 = {d = 0, i = {0x00000000, 0x0}} s=0 e=0 m=0x000000 (0x0800000) 1 = {d = 1, i = {0x3ff00000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000) 2 = {d = 2, i = {0x40000000, 0x0}} s=0 e=0 m=0x000000 (0x0800000) 3 = {d = 3, i = {0x40080000, 0x0}} s=0 e=0 m=0x080000 (0x0880000) C4X === -4 = {d = -4, i = {0x01800000, 0x0}} s=1 e=1 m=0x800000 (0x1000000) -3 = {d = -3, i = {0x01c00000, 0x0}} s=1 e=1 m=0xa00000 (0x1400000) -2 = {d = -2, i = {0x00800000, 0x0}} s=1 e=0 m=0x800000 (0x1000000) -1 = {d = -1, i = {0xff800000, 0x0}} s=1 e=0xff m=0x000000 (0x1000000) 0 = {d = 0, i = {0x80000000, 0x0}} s=0 e=0 m=0x000000 (0x0800000) 1 = {d = 1, i = {0x00000000, 0x0}} s=0 e=0x7f m=0x000000 (0x0800000) 2 = {d = 2, i = {0x01000000, 0x0}} s=0 e=1 m=0x400000 (0x0800000) 3 = {d = 3, i = {0x01400000, 0x0}} s=0 e=1 m=0x600000 (0x0c00000) 4 = {d = 4, i = {0x02000000, 0x0}} s=0 e=2 m=0xXXXXXX (0x0000000) 0x1010 0000 0101 0000 0010 1002
* Patch from Eric Norum <eric@cls.usask.ca> to avoid lockup underJoel Sherrill2000-08-011-9/+9
| | | | | | the correct circumstances of DMA buffer size, serial line interrupts, and ethernet interrupts the termios osend routine would lock up waiting for the raw output buffer semaphore.
* Port of RTEMS to the Texas Instruments C3x/C4x DSP families includingJoel Sherrill2000-07-261-2/+2
| | | | | | | | | | | a BSP (c4xsim) supporting the simulator included with gdb. This port was done by Joel Sherrill and Jennifer Averett of OAR Corporation. Also included with this port is a space/time optimization to eliminate FP context switch management on CPUs without hardware or software FP. An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8) on this CPU. This required addressing alignment checks and assumptions as well as fixing code that assumed sizeof(unsigned32) == 4.
* Fixed stat_ino should be st_ino.Joel Sherrill2000-07-021-1/+1
|
* Patch from Chris Johns <cjohns@cybertec.com.au> so the directoryJoel Sherrill2000-06-301-1/+1
| | | | read function in the IMFS properly returns the inode number.
* Patch from Chris Johns <cjohns@cybertec.com.au> to add support forJoel Sherrill2000-06-302-13/+17
| | | | | stat()'ing a symbolic link. This is needed to support the port of the BSD commands like ls to RTEMS.
* Patch from Chris Johns <cjohns@cybertec.com.au> to add fchdir()Joel Sherrill2000-06-303-1/+73
| | | | functionality to libc and update TODO.
* Patch from Chris Johns <cjohns@cybertec.com.au> to make sure theJoel Sherrill2000-06-291-1/+2
| | | | ttyHead back link is set.
* Patch from Chris Johns <cjohns@cybertec.com.au> andJoel Sherrill2000-06-261-0/+3
| | | | | | | | | | | Jennifer Averett <jennifer.averett@oarcorp.com> to fix appends (O_APPEND at open time) on in-memory files. A call such as: fd = open (file, O_APPEND | O_WRONLY); did not append to the end of the file.
* Patch from Chris Johns <cjohns@cybertec.com.au> andJoel Sherrill2000-06-261-1/+1
| | | | | Jennifer Averett <jennifer.averett@oarcorp.com> to make sure "/" is created with S_IFDIR set.
* Fixing warning obtained by some users.Joel Sherrill2000-06-151-0/+4
|
* *** empty log message ***Joel Sherrill2000-06-1410-28/+12
|
* Moved i386 and m68k cache management code to libcpu. EverythingJoel Sherrill2000-06-131-22/+0
| | | | | | now is an implementation of the prototypes in rtems/rtems/cache.h. The libcpu/i386/wrapup directory is no longer needed. The PowerPC needs this done to it.
* Temporary hack to compile. Need to probably address definitionJoel Sherrill2000-06-131-0/+1
| | | | of all FIO constants and conflict with libnetworking code.
* Temporary hack to compile.Joel Sherrill2000-06-131-1/+0
|
* Patch from John Cotton <john.cotton@nrc.ca>, Charles-Antoine GauthierJoel Sherrill2000-06-122-1/+29
| | | | | | | | | | | | | | | <charles.gauthier@iit.nrc.ca>, and Darlene A. Stewart <Darlene.Stewart@nrc.ca> to add support for a number of very significant things: + BSPs for many variations on the Motorola MBX8xx board series + Cache Manager including initial support for m68040 and PowerPC + Rework of mpc8xx libcpu code so all mpc8xx CPUs now use same code base. + Rework of eth_comm BSP to utiltize above. John reports this works on the 821 and 860
* Added printk as a generic, shared routine.Joel Sherrill2000-06-122-1/+146
|
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-1214-60/+285
|
* New file added on 4.5 branchJoel Sherrill2000-05-081-0/+0
|
* Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill2000-04-131-0/+2
| | | | adds .cvsignore.
* Increased block size to 128 and added comments based on feedback fromJoel Sherrill2000-02-111-1/+13
| | | | Java folks including Oscar Martinez de la Torre <omt@wm.estec.esa.nl>.
* Patches rtems-rc-20000204-0.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-02-081-2/+0
| | | | | | | | | | | | | | | | | that contains: * Removes remaining (now illegal) references to $(SRC) from a couple of Makefile.ams * Removes duplicate AC_CONFIG_SUBDIRS macro from c/configure.in * Moves ENABLE_LIBCDIR into RTEMS_PROG_C[C|XX]_FOR_TARGET (hides LIBCDIR from most configure scripts, i.e. LIBCDIR becomes less visible) * Adds RTEMS_PROG_C[C|XX]_FOR_TARGET and RTEMS_CANONICALIZE_TOOLS to libbsp/*/configure.ins (A minor bug in previous implementations, which only has an impact when switching to GNU/Cygnus canonicalization) * Cleans up several bogus comments. * Removes MKLIB * Switches the version number to 4.5.0 (for testing version number handling)
* Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff fromJoel Sherrill2000-01-311-1/+0
| | | | | | | | | | Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain: * Modifications, (minor) corrections, cleanups to most existing Makefile.ams * Adds automake support to all remaining BSPs which have not yet been converted to automake. * Makefile.am for all remaining wrapup/Makefile.ams
* Spacing corrected.Joel Sherrill2000-01-051-1/+1
|
* Removed warnings.Joel Sherrill1999-12-131-1/+1
|
* Warning removal patch from Philip A. Prindeville <philipp@zembu.com>.Joel Sherrill1999-12-131-1/+1
|
* Added RTEMS_IO_ERROR.Joel Sherrill1999-12-131-0/+1
|
* Removed duplicate definition of rtems_filesystem_umask.Joel Sherrill1999-11-301-6/+0
|
* Corrected so they would compile with POSIX disabled.Joel Sherrill1999-11-302-2/+3
|
* Fixed spacing.Joel Sherrill1999-11-291-1/+1
|
* Patch rtems-rc-19991117-9.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1999-11-222-126/+127
| | | | | to convert the libc directory to automake and "dozens of small fixes for Makefile.ins/configure.ins below c/src/lib."
* Updated copyright notice.Joel Sherrill1999-11-17104-208/+104
|
* Added TERMINAL_IDENTIFICATION pieces.Joel Sherrill1999-11-161-3/+4
|
* Fixed bug.Jennifer Averett1999-11-161-3/+3
|
* Added handler for fsync. For the memfile it is the same as the data sync.Jennifer Averett1999-11-161-1/+1
|
* Works now.Joel Sherrill1999-11-161-19/+12
| | | | | Removed times() since the version in the C Library support code is fine.