mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 537/bsps * bsplibc.c: Eliminate vestiges of ticks_per_timeslice controlling newlib reentrancy. The parameter was ignored in libc_init().
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||
|
||||
PR 537/bsps
|
||||
* bsplibc.c: Eliminate vestiges of ticks_per_timeslice controlling
|
||||
newlib reentrancy. The parameter was ignored in libc_init().
|
||||
|
||||
2008-07-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
||||
|
||||
* src/irq-legacy.c: Free allocated memory in handler remove.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* COPYRIGHT (c) 1989-1999.
|
||||
* COPYRIGHT (c) 1989-2008.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* $Id$
|
||||
@@ -29,8 +29,5 @@ void bsp_libc_init(
|
||||
* Set up for the libc handling.
|
||||
*/
|
||||
|
||||
if ( rtems_configuration_get_ticks_per_timeslice() > 0 )
|
||||
libc_init(1); /* reentrant if possible */
|
||||
else
|
||||
libc_init(0); /* non-reentrant */
|
||||
libc_init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user