Use Context_Control_fp* instead of void* for fp_contexts.

This commit is contained in:
Ralf Corsepius
2007-04-17 04:55:44 +00:00
parent 832d41244e
commit 3c86f88536
3 changed files with 5 additions and 5 deletions

View File

@@ -495,7 +495,7 @@ void _CPU_Context_restore(
*/
void _CPU_Context_save_fp(
void **fp_context_ptr
Context_Control_fp **fp_context_ptr
);
/*
@@ -505,7 +505,7 @@ void _CPU_Context_save_fp(
*/
void _CPU_Context_restore_fp(
void **fp_context_ptr
Context_Control_fp **fp_context_ptr
);
#ifdef __cplusplus

View File

@@ -54,7 +54,7 @@ void _CPU_Initialize(
)
{
#if (SPARC_HAS_FPU == 1)
void *pointer;
Context_Control_fp *pointer;
/*
* This seems to be the most appropriate way to obtain an initial

View File

@@ -174,7 +174,7 @@ typedef struct {
Stack_Control Initial_stack;
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
/** This field is the initial FP context area address. */
void *fp_context;
Context_Control_fp *fp_context;
#endif
/** This field is the initial stack area address. */
void *stack;
@@ -336,7 +336,7 @@ struct Thread_Control_struct {
/** This field points to the floating point context for this thread.
* If NULL, the thread is integer only.
*/
void *fp_context;
Context_Control_fp *fp_context;
#endif
/** This field points to the newlib reentrancy structure for this thread. */
struct _reent *libc_reent;