summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libc/newlibc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Following comments from Eric Norum <eric@cls.usask.ca>, a fairlyJoel Sherrill1999-11-051-285/+145
| | | | | | | 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.
* Removed go32 ifdefsJoel Sherrill1999-10-051-3/+0
|
* Fix based on bug report from Jay Kulpinski <jskulpin@eng01.gdds.com>Joel Sherrill1999-05-111-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | that the per task reentrancy structure was not being processed properly during exit(). joel@oarcorp.com wrote: > > > This is always an ugly place to poke around. :( > > The code in newlib/libc/stdlib/exit.c walks the atexit chain for the > reentrancy structure for JUST the current task. The code in libc_wrapup() > does it for both the current task and the global reentrancy structure > (which tends to be where driver atexit()'s were registered. > > So I think the _wrapup_reent(0) in libc_wrapup() should be commented out. > > If you concur, then I will make the change and improve the comment on this > line of code to explain things: > > libc_wrapup(); /* Why? XXX */ > > --joel That does the job. cdtest.exe works correctly now.
* GLobal reentrancy structure is now dynamically initialized.Joel Sherrill1999-02-181-1/+2
|
* Patch from Eric Valette <valette@crf.canon.fr> to undo the patchJoel Sherrill1999-02-151-2/+0
| | | | that added ifdef on the pc386.
* Per bug report from Jiri Gaisler that RTEMS would no longer buildJoel Sherrill1999-01-191-1/+13
| | | | | with the --disable-posix option, stubs for some routines (_getpid_r and _kill_r) that are normally defined with POSIX were added.
* Added base version of file system infrastructure. This includes a majorJoel Sherrill1998-11-231-13/+65
| | | | | | | | | | | | | | | | | | | | | | | | 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 Emmanuel Raguet <raguet@crf.canon.fr>:Joel Sherrill1998-08-311-3/+0
| | | | | I have reworked the ethernet driver for the BSP pc386 and here is the patch to apply.
* Addition of tcdrain() from Eric Norum.Joel Sherrill1998-05-191-0/+12
|
* More stuff removed as a result of using newlib's isatty() implementation.Joel Sherrill1998-04-061-11/+0
| | | | These were noticed by Eric Norum.
* Added call to libc_wrapup() in _exit. This fixes a problem whereJoel Sherrill1998-02-031-0/+1
| | | | | the atexit routines on the global reentrancy structure were not invoked. But it does not seem like a 100% correct solution.
* Inclusion of PC386 BSP submitted by Pedro Miguel Da Cruz Neto RomanoJoel Sherrill1997-12-011-0/+2
| | | | | <pmcnr@camoes.rnl.ist.utl.pt> and Jose Rufino <ruf@asterix.ist.utl.pt> of NavIST (http://pandora.ist.utl.pt/).
* Fixed typo in the pointer to the license terms.Joel Sherrill1997-10-081-2/+2
|
* Moved reentrant wrappers into their own file.Joel Sherrill1997-08-221-4/+2
|
* updated with new license information per Tony Bennett.Joel Sherrill1997-04-221-10/+3
|
* added code to prevent attempts to clean up the library when rtems isJoel Sherrill1997-04-091-0/+8
| | | | down.
* Modifications to make go32 build using new i386-go32-rtems toolsetJoel Sherrill1997-01-291-3/+6
| | | | and gcc 2.8.x -specs options.
* Merged newlib's libgloss support for rtems into this directory. ThisJoel Sherrill1997-01-291-1/+4
| | | | should simplify the build process.
* modified to support non-GNU compilers and to use calloc rather thanJoel Sherrill1996-09-181-3/+20
| | | | malloc for per-thread reentrancy structure allocation.
* get_errno: no longer needed by gnat runtimeJoel Sherrill1996-08-061-0/+4
|
* another attempt at the rtems_posix_api ifdefJoel Sherrill1996-07-031-4/+3
|
* minor changes to insure the few posix-ish routines needed in non-posixJoel Sherrill1996-06-181-6/+25
| | | | mode have stubs.
* use exit() from newlib by default.Joel Sherrill1996-06-121-8/+8
|
* sleep moved into newlibc.c so the sleep.o object would not be in the library.Joel Sherrill1996-06-031-1/+26
| | | | | This implementation of sleep is now only used when the POSIX API is not configured.
* added dummy versions of __kill and __getpid which assert(0) so thatJoel Sherrill1996-05-301-0/+23
| | | | | applications which use only the rtems api (i.e. not the posix api) will link.
* updates from Tony BennettJoel Sherrill1996-05-231-2/+2
|
* Updates from Tony Bennett.Joel Sherrill1996-04-221-18/+25
|
* Removed prototyes for static inline routines and moved the comments intoJoel Sherrill1996-03-061-0/+1
| | | | | | | | | | | | | | | the inline implementation. The impetus for this was twofold. First, it is incorrect to have static inline prototypes when using the macro implementation. Second, this reduced the number of lines in the include files seen by rtems.h by about 2000 lines. Next we restricted visibility for the inline routines to inside the executive itself EXCEPT for a handful of objects. This reduced the number of include files included by rtems.h by 40 files and reduced the lines in the include files seen by rtems.h by about 6000 lines. In total, these reduced the compile time of the entire RTEMS tree by 20%. This results in about 8 minutes savings on the SparcStation 10 morgana.
* Dispersal of internal thread handler resulted in the SYSI task beingJoel Sherrill1996-02-211-2/+2
| | | | | | only required in a multiprocessor system. It was replace by the MPCI Receive Server. As a result, the CPU Table field for extra stack for the SYSI task was changed to be extra stack for the MPCI Receive Server.
* added a task begin extension for unix simulator configurations. This extensionJoel Sherrill1996-01-191-0/+25
| | | | insures that stdout is line buffered (see setvbuf).
* Initial attempt at building HP PA-RISC using Solaris hosted tools.Joel Sherrill1995-09-121-3/+13
| | | | Changed back to Newlib for Solaris UNIX simulator.
* The word "RTEMS" almost completely removed from the core.Joel Sherrill1995-09-111-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Configuration Table Template file added and all tests modified to use this. All gvar.h and conftbl.h files removed from test directories. Configuration parameter maximum_devices added. Core semaphore and mutex handlers added and RTEMS API Semaphore Manager updated to reflect this. Initialization sequence changed to invoke API specific initialization routines. Initialization tasks table now owned by RTEMS Tasks Manager. Added user extension for post-switch. Utilized user extensions to implement API specific functionality like signal dispatching. Added extensions to the System Initialization Thread so that an API can register a function to be invoked while the system is being initialized. These are largely equivalent to the pre-driver and post-driver hooks. Added the Modules file oar-go32_p5, modified oar-go32, and modified the file make/custom/go32.cfg to look at an environment varable which determines what CPU model is being used. All BSPs updated to reflect named devices and clock driver's IOCTL used by the Shared Memory Driver. Also merged clock isr into main file and removed ckisr.c where possible. Updated spsize to reflect new and moved variables. Makefiles for the executive source and include files updated to show break down of files into Core, RTEMS API, and Neither. Header and inline files installed into subdirectory based on whether logically in the Core or a part of the RTEMS API.
* Support for variable length names added to Object Handler. This supportsJoel Sherrill1995-08-231-1/+1
| | | | | | both fixed length "raw" names and strings from the API's point of view. Both inline and macro implementations were tested.
* Ada95, gnat, go32Joel Sherrill1995-07-121-1/+1
|
* Fully tested on all in-house targetsJoel Sherrill1995-05-241-5/+5
|
* Initial revisionJoel Sherrill1995-05-111-0/+292