diff options
-rw-r--r-- | cpukit/score/cpu/i386/rtems/score/cpu.h | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc/cpu.c | 2 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/cpukit/score/cpu/i386/rtems/score/cpu.h b/cpukit/score/cpu/i386/rtems/score/cpu.h index 3a6188da32..14cede5e47 100644 --- a/cpukit/score/cpu/i386/rtems/score/cpu.h +++ b/cpukit/score/cpu/i386/rtems/score/cpu.h @@ -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 diff --git a/cpukit/score/cpu/sparc/cpu.c b/cpukit/score/cpu/sparc/cpu.c index 16f7c81dfb..ed240fc8a8 100644 --- a/cpukit/score/cpu/sparc/cpu.c +++ b/cpukit/score/cpu/sparc/cpu.c @@ -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 diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 46687ad90a..6b87844f0f 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -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; |