mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 09:05:06 +08:00
2003-09-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 489/rtems * include/rtems/score/thread.h: Change struct Thread_Control_struct.libc_reent to using struct _reent*. * inline/rtems/score/thread.inl: Reflect change above.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2003-09-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
PR 489/rtems
|
||||
* include/rtems/score/thread.h: Change struct
|
||||
Thread_Control_struct.libc_reent to using struct _reent*.
|
||||
* inline/rtems/score/thread.inl: Reflect change above.
|
||||
|
||||
2003-09-08 Derick Hammond <derick@perkinstechnologies.com.au>
|
||||
|
||||
PR 484/rtems
|
||||
|
||||
@@ -220,7 +220,7 @@ struct Thread_Control_struct {
|
||||
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
|
||||
void *fp_context;
|
||||
#endif
|
||||
void *libc_reent;
|
||||
struct _reent *libc_reent;
|
||||
void *API_Extensions[ THREAD_API_LAST + 1 ];
|
||||
void **extensions;
|
||||
rtems_task_variable_t *task_variables;
|
||||
@@ -323,8 +323,7 @@ SCORE_EXTERN Thread_Control *_Thread_Allocated_fp;
|
||||
* switch. The pointer points to that global pointer. The Thread control block
|
||||
* holds a pointer to the task specific data.
|
||||
*/
|
||||
|
||||
SCORE_EXTERN void **_Thread_libc_reent;
|
||||
SCORE_EXTERN struct _reent **_Thread_libc_reent;
|
||||
|
||||
/*
|
||||
* _Thread_Handler_initialization
|
||||
|
||||
@@ -402,7 +402,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Internal_free (
|
||||
* This routine returns the C library re-enterant pointer.
|
||||
*/
|
||||
|
||||
RTEMS_INLINE_ROUTINE void **_Thread_Get_libc_reent( void )
|
||||
RTEMS_INLINE_ROUTINE struct _reent **_Thread_Get_libc_reent( void )
|
||||
{
|
||||
return _Thread_libc_reent;
|
||||
}
|
||||
@@ -417,7 +417,7 @@ RTEMS_INLINE_ROUTINE void **_Thread_Get_libc_reent( void )
|
||||
*/
|
||||
|
||||
RTEMS_INLINE_ROUTINE void _Thread_Set_libc_reent (
|
||||
void **libc_reent
|
||||
struct _reent **libc_reent
|
||||
)
|
||||
{
|
||||
_Thread_libc_reent = libc_reent;
|
||||
|
||||
Reference in New Issue
Block a user