summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/rtems
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-04-17 05:11:53 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-04-17 05:11:53 +0000
commit3ca0bfe0308fbb5e6ac6d659856baf86c653fdc4 (patch)
tree3168493d1ca5fc715a142a41dc98435c959f748b /cpukit/score/cpu/arm/rtems
parent2007-04-17 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-3ca0bfe0308fbb5e6ac6d659856baf86c653fdc4.tar.bz2
Use Context_Control_fp* instead of void* for fp_contexts.
Eliminate evil casts.
Diffstat (limited to 'cpukit/score/cpu/arm/rtems')
-rw-r--r--cpukit/score/cpu/arm/rtems/score/cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/cpu.h b/cpukit/score/cpu/arm/rtems/score/cpu.h
index ca1ac70334..12df94f2fe 100644
--- a/cpukit/score/cpu/arm/rtems/score/cpu.h
+++ b/cpukit/score/cpu/arm/rtems/score/cpu.h
@@ -658,7 +658,7 @@ void _CPU_Context_Initialize(
#define _CPU_Context_Initialize_fp( _destination ) \
{ \
- *((Context_Control_fp *) *((void **) _destination)) = _CPU_Null_fp_context; \
+ *(*(_destination)) = _CPU_Null_fp_context; \
}
/* end of Context handler macros */
@@ -777,7 +777,7 @@ void _CPU_Context_restore(
*/
void _CPU_Context_save_fp(
- void **fp_context_ptr
+ Context_Control_fp **fp_context_ptr
);
/*
@@ -787,7 +787,7 @@ void _CPU_Context_save_fp(
*/
void _CPU_Context_restore_fp(
- void **fp_context_ptr
+ Context_Control_fp **fp_context_ptr
);
#endif /* (ARM_HAS_FPU == 1) */