diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-04-17 05:42:54 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-04-17 05:42:54 +0000 |
commit | 0edd196e4684c41b75057a15dc3613a8e1b71344 (patch) | |
tree | 7300d8ead7c575bc8b1c0363433df51c23ed16e4 /cpukit/score/cpu/nios2 | |
parent | 2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-0edd196e4684c41b75057a15dc3613a8e1b71344.tar.bz2 |
Use Context_Control_fp* instead of void* for fp_contexts.
Eliminate evil casts.
Diffstat (limited to 'cpukit/score/cpu/nios2')
-rw-r--r-- | cpukit/score/cpu/nios2/rtems/score/cpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h index f05641def9..a2ee099552 100644 --- a/cpukit/score/cpu/nios2/rtems/score/cpu.h +++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h @@ -1031,7 +1031,7 @@ uint32_t _CPU_ISR_Get_level( void ); #else #define _CPU_Context_Initialize_fp( _destination ) \ { \ - *((Context_Control_fp *) *((void **) _destination)) = _CPU_Null_fp_context; \ + *(*(_destination)) = _CPU_Null_fp_context; \ } #endif @@ -1323,7 +1323,7 @@ void _CPU_Context_restore( * XXX document implementation including references if appropriate */ void _CPU_Context_save_fp( - void **fp_context_ptr + Context_Control_fp **fp_context_ptr ); /** @@ -1341,7 +1341,7 @@ void _CPU_Context_save_fp( * XXX document implementation including references if appropriate */ void _CPU_Context_restore_fp( - void **fp_context_ptr + Context_Control_fp **fp_context_ptr ); /** |