summaryrefslogtreecommitdiff
path: root/cpukit/libcsupport/src/newlibc_reent.c (follow)
AgeCommit message (Collapse)Author
2020-04-16Canonicalize config.h includeSebastian Huber
Use the following variant which was already used by most source files: #ifdef HAVE_CONFIG_H #include "config.h" #endif
2015-11-25Require __getreent()Sebastian Huber
This function is used by Newlib since 2013-07-09 (Git commit 9b51cd8c6b9cdd067d9648a7ab952884019c56a5).
2015-10-26basdefs.h: Add and use RTEMS_UNUSEDSebastian Huber
2014-04-15score: Simplify thread control initializationSebastian Huber
The thread control block contains fields that point to application configuration dependent memory areas, like the scheduler information, the API control blocks, the user extension context table, the RTEMS notepads and the Newlib re-entrancy support. Account for these areas in the configuration and avoid extra workspace allocations for these areas. This helps also to avoid heap fragementation and reduces the per thread memory due to a reduced heap allocation overhead.
2014-03-31score: Thread life cycle re-implementationSebastian Huber
The thread deletion is now supported on SMP. This change fixes the following PRs: PR1814: SMP race condition between stack free and dispatch PR2035: psxcancel reveals NULL pointer access in _Thread_queue_Extract() The POSIX cleanup handler are now called in the right context (should be called in the context of the terminating thread). http://pubs.opengroup.org/onlinepubs/009695399/functions/xsh_chap02_09.html Add a user extension the reflects a thread termination event. This is used to reclaim the Newlib reentrancy structure (may use file operations), the POSIX cleanup handlers and the POSIX key destructors.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns
2013-08-08PR766: Delete __RTEMS_VIOLATE_KERNEL_VISIBILITY__Sebastian Huber
2013-07-26score: Create thread implementation headerSebastian Huber
Move implementation specific parts of thread.h and thread.inl into new header file threadimpl.h. The thread.h contains now only the application visible API. Remove superfluous header file includes from various files.
2013-07-23Include missing <string.h>Sebastian Huber
2013-07-22libcsupport: Include missing header fileSebastian Huber
2013-07-17score: Changes due to Newlib __DYNAMIC_REENT__Sebastian Huber
Delete _Thread_libc_reent and add __getreent() instead according to __DYNAMIC_REENT__ define. For SMP configurations __DYNAMIC_REENT__ must be defined. A Newlib including the following patch is required: 2013-07-09 Sebastian Huber <sebastian.huber@embedded-brains.de> * libc/include/sys/config.h (__DYNAMIC_REENT__): Define for RTEMS.
2013-07-17libcsupport: Use _reclaim_reent()Sebastian Huber
A Newlib including the following patch is required: 2013-04-25 Sebastian Huber <sebastian.huber@embedded-brains.de> * libc/stdio/local.h (_STDIO_CLOSE_PER_REENT_STD_STREAMS): New define. * libc/stdio/findfp.c (_STDIO_CLOSE_PER_REENT_STD_STREAMS): Use define.
2013-04-26libcsupport: Remove superfluous assignmentsSebastian Huber
Remove superfluous declaractions, defines, comments and includes.
2013-04-26libcsupport: Make newlib_free_buffers() staticSebastian Huber
2013-04-26libcsupport: Delete unused newlib_begin_hook()Sebastian Huber
2013-04-26libcsupport: Delete REENT_MALLOCED defineSebastian Huber
2013-04-26libcsupport: Use copyright notice of original fileSebastian Huber
2012-12-09libcsupport: Doxygen enhancement task #2Alex Ivanov
http://www.google-melange.com/gci/task/view/google/gci2012/8017203
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2009-10-142009-10-14 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius
* libcsupport/src/newlibc_reent.c: Eliminate RTEMS_UNIX.
2009-09-262009-09-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libcsupport/include/rtems/libcsupport.h, libcsupport/src/newlibc_reent.c: Eliminate use of deprecated rtems_extension.
2009-09-15Add __attribute__((unused)) to function arguments.Ralf Corsepius
2008-09-172008-09-17 Miao Yan <yanmiaobest@gmail.com>Joel Sherrill
* Makefile.am, preinstall.am, libcsupport/Makefile.am, libcsupport/include/rtems/libcsupport.h, libcsupport/include/rtems/libio.h, libcsupport/src/base_fs.c, libcsupport/src/libio_init.c, libcsupport/src/newlibc_exit.c, libcsupport/src/newlibc_init.c, libcsupport/src/sync.c, libfs/Makefile.am, libfs/src/imfs/deviceio.c, sapi/include/confdefs.h: Merge GSOC project code to add simple device only filesystem (devfs), optionally completely drop out filesystem, and to clean up disabling newlib reentrancy support. This dropped 17K from the minimum.exe for sparc/sis and arm/rtl22xx_t now has a 15K code space. * libcsupport/src/__usrenv.c, libcsupport/src/newlibc_reent.c, libfs/src/devfs/devclose.c, libfs/src/devfs/devfs.h, libfs/src/devfs/devfs_eval.c, libfs/src/devfs/devfs_init.c, libfs/src/devfs/devfs_mknod.c, libfs/src/devfs/devfs_node_type.c, libfs/src/devfs/devfs_show.c, libfs/src/devfs/devioctl.c, libfs/src/devfs/devopen.c, libfs/src/devfs/devread.c, libfs/src/devfs/devstat.c, libfs/src/devfs/devwrite.c, libfs/src/imfs/deviceerrno.c: New files. * libcsupport/src/newlibc.c: Removed.