summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/malloc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:Joel Sherrill1999-08-181-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here is another fix, which addresses a few more or less severe bugs in configuration and unix/posix: * Configuration fix: c/src/lib/configure.in didn't handle RDBG correctly * Configuration fix: make depend was non-functional in c/src/lib/libc/Makefile.in * Configuration fix: stray comment removed from aclocal/target.m4 * RTEMS fix: termios support for unix/posix now uses the host's headers only (was completely broken). - Don't install RTEMS's newlib sys/termios.h for unix (sys/termios.h apparently is a newlib specific header) - To be able to compile RTEMS's termios.c with glibc2.1, glibc-2.1 needs __USE_MISC, which is a private define from gcc's features.h, being defined only when _BSD_SOURCE of _SVID_SOURCE is defined. RTEMS's termios apparently implements BSD, thus -D_BSD_SOURCE was added to Linux-posix.cfg. - Conflicting definitions for __USE_MISC and _BSD_SOURCE inside of RTEMS codes removed due to definition of _BSD_SOURCE on the toplevel. This fix has been tested with linux/posix (primary glibc2.1 native), linux/posix (secondary libc5 native), sh/gensh1, i386/pc386 and a couple of other bsp's/CPU. To apply: cd <srcdir> patch -p1 < rtems-rc-19990709-9.diff and aclocal -I aclocal && automake && autoconf cd c/src/lib; autoconf or ./autogen
* Added base version of file system infrastructure. This includes a majorJoel Sherrill1998-11-231-5/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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 Ian Lance Taylor <ian@airs.com>:Joel Sherrill1998-10-011-5/+8
| | | | | | | | The reentrant versions of the malloc functions in c/src/lib/libc/malloc.c do not match the definitions in newlib. These will be used if you use newlib routines such as fdopen. I believe this patch to malloc.c is needed to provide the correct versions.
* Modifed to zero out the C heap if the CPU Table indicates that theJoel Sherrill1998-09-231-0/+15
| | | | RTEMS workspace is to be zeroed out.
* updated copyright to 1998Joel Sherrill1998-02-171-1/+1
|
* Corrected Linux port for glibc2Joel Sherrill1998-01-301-1/+1
|
* Removed warning under linux port.Joel Sherrill1997-11-181-0/+5
|
* Added casts and fixed line break.Joel Sherrill1997-10-211-2/+3
|
* Fixed typo in the pointer to the license terms.Joel Sherrill1997-10-081-2/+2
|
* headers updated to reflect new style copyright notice as partJoel Sherrill1997-04-221-5/+5
| | | | of switching to the modified GNU GPL.
* Merged newlib's libgloss support for rtems into this directory. ThisJoel Sherrill1997-01-291-18/+18
| | | | should simplify the build process.
* added malloc_walkJoel Sherrill1996-09-181-4/+35
| | | | miscellaneous corrections in casting.
* updates from Tony BennettJoel Sherrill1996-05-231-0/+3
|
* Updates from Tony Bennett.Joel Sherrill1996-04-221-1/+9
|
* bug fix in statistics from Tony Bennett (tbennett@divnc.com)Joel Sherrill1995-12-051-1/+3
|
* all targets compile .. tony's patches in placeJoel Sherrill1995-09-291-31/+99
|
* Added functions to access the errno of the native system when using theJoel Sherrill1995-08-111-1/+8
| | | | | | | newlib C library. Fixed bug where length did not take into account amount added for alignment requirements.
* incorporate Tony's patches:Joel Sherrill1995-06-051-0/+1
| | | | | | | | | | + c/src/lib/libc/support/generic/malloc.c did not initialize the sbrk amount + _Thread_Handler in c/src/exec/rtems/thread.c left a window during the begin extension which could result in a context switch fixed places which did not correctly distinguish between an CPU_isr and a CPU_isr_entry.
* Initial revisionJoel Sherrill1995-05-111-0/+280