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:
Ralf Corsepius
2003-09-15 01:01:51 +00:00
parent 7bd88b5495
commit d36b31523d
3 changed files with 11 additions and 5 deletions
+7
View File
@@ -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
+2 -3
View File
@@ -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
+2 -2
View File
@@ -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;