summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libcsupport (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2000-10-18 Chris Johns <ccj@acm.org>Joel Sherrill2000-10-181-12/+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-2830-110/+110
| | | | | | | | | | | | | | | * 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-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-08-301-1/+1
| | | | * configure.in: Add lib/libcpu and lib/libbsp to cfg_subdirs
* 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-252-5/+19
| | | | | * 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-119-6/+50
| | | | | | | | | | | | | | | * 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.
* 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.
* Fixing warning obtained by some users.Joel Sherrill2000-06-151-0/+4
|
* Moved <sys/cdefs.h> from libnetworking to lib/include so non-networkingJoel Sherrill2000-06-141-0/+177
| | | | | configurations could see it while including <sys/ioctl.h> and <sys/ioccom.h>.
* *** empty log message ***Joel Sherrill2000-06-1412-28/+108
|
* 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-123-1/+30
| | | | | | | | | | | | | | | <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-1212-45/+273
|
* 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-134-0/+8
| | | | adds .cvsignore.
* Patch rtems-rc-4.5.0-13-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.Joel Sherrill2000-04-131-0/+13
| | | | adds .cvsignore.
* 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
* 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-221-0/+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-1779-158/+79
|
* Fixed bug.Jennifer Averett1999-11-161-3/+3
|
* Removed start subdirectory and distributed contents to the appropriateJoel Sherrill1999-11-161-1/+1
| | | | places under the libbsp tree.
* Works now.Joel Sherrill1999-11-161-19/+12
| | | | | Removed times() since the version in the C Library support code is fine.
* New file.Joel Sherrill1999-11-161-0/+113
|
* Added.Joel Sherrill1999-11-165-0/+205
|
* Source and destination arguments to strncpy were swapped. This mistakeJoel Sherrill1999-11-161-1/+1
| | | | was made in the conversion of bcopy() to strncpy().
* Following comments from Eric Norum <eric@cls.usask.ca>, a fairlyJoel Sherrill1999-11-053-285/+260
| | | | | | | substantial upgrade of newlibc.c occurred. Now the user extension data area is used rather than notepads and as many routines as possible were split into other files further reducing the minimum footprint of an RTEMS executable.
* This is another pass at making sure that nothing outside the BSPJoel Sherrill1999-11-051-2/+1
| | | | | | | | | | | | unnecessarily uses any variables defined by the BSP. On this sweep, use of BSP_Configuration and Cpu_table was eliminated. A significant part of this modification was the addition of macros to access fields in the RTEMS configuration structures. This is necessary to strengthen the division between the BSP independent parts of RTEMS and the BSPs themselves. This started after comments and analysis by Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
* Fixed F_SETFL to properly convert between internalJoel Sherrill1999-11-021-2/+3
| | | | libio flags and external fcntl.h style flags.
* Added support for configuring base filesystem. First attempt atJoel Sherrill1999-11-021-17/+41
| | | | | | a full mount table at initialization. This is the wrong place to mount filesystems 2-n since no device drivers are initialized yet.
* Check for NULL being passed in.Joel Sherrill1999-11-024-2/+17
|