summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/c4x/rtems/score/cpu.h
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-04-17 05:18:49 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-04-17 05:18:49 +0000
commit231aac4fc1e7d2fe19fb93e2af588be9a4a1c808 (patch)
tree25e52cdc3112f43613029f506f39349d9cffe6bf /cpukit/score/cpu/c4x/rtems/score/cpu.h
parent2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-231aac4fc1e7d2fe19fb93e2af588be9a4a1c808.tar.bz2
Use Context_Control_fp* instead of void* for fp_contexts.
Eliminate evil casts.
Diffstat (limited to 'cpukit/score/cpu/c4x/rtems/score/cpu.h')
-rw-r--r--cpukit/score/cpu/c4x/rtems/score/cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/cpu/c4x/rtems/score/cpu.h b/cpukit/score/cpu/c4x/rtems/score/cpu.h
index b268a44499..470cd5295f 100644
--- a/cpukit/score/cpu/c4x/rtems/score/cpu.h
+++ b/cpukit/score/cpu/c4x/rtems/score/cpu.h
@@ -940,7 +940,7 @@ void _CPU_Context_Initialize(
#define _CPU_Context_Initialize_fp( _destination ) \
do { \
- *((Context_Control_fp *) *((void **) _destination)) = _CPU_Null_fp_context; \
+ *(*(_destination)) = _CPU_Null_fp_context; \
} while (0)
#endif
@@ -1191,7 +1191,7 @@ void _CPU_Context_restore(
#if ( C4X_HAS_FPU == 1 )
void _CPU_Context_save_fp(
- void **fp_context_ptr
+ Context_Control_fp **fp_context_ptr
);
#endif
@@ -1207,7 +1207,7 @@ void _CPU_Context_save_fp(
#if ( C4X_HAS_FPU == 1 )
void _CPU_Context_restore_fp(
- void **fp_context_ptr
+ Context_Control_fp **fp_context_ptr
);
#endif