summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/h8300/rtems
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-04-17 05:31:27 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-04-17 05:31:27 +0000
commitce1093e07c1014376a931a54548e3b383cbd2c29 (patch)
treeb5191f0a3fb5f8dd80c7c3e7b416d885f6e9ee44 /cpukit/score/cpu/h8300/rtems
parentUse Context_Control_fp* instead of void* for fp_contexts. (diff)
downloadrtems-ce1093e07c1014376a931a54548e3b383cbd2c29.tar.bz2
Use Context_Control_fp* instead of void* for fp_contexts.
Eliminate evil casts.
Diffstat (limited to 'cpukit/score/cpu/h8300/rtems')
-rw-r--r--cpukit/score/cpu/h8300/rtems/score/cpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/score/cpu/h8300/rtems/score/cpu.h b/cpukit/score/cpu/h8300/rtems/score/cpu.h
index c7f3b3c77b..081549ac1f 100644
--- a/cpukit/score/cpu/h8300/rtems/score/cpu.h
+++ b/cpukit/score/cpu/h8300/rtems/score/cpu.h
@@ -857,7 +857,7 @@ uint32_t _CPU_ISR_Get_level( void );
#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 */
@@ -1116,7 +1116,7 @@ void _CPU_Context_restore(
*/
void _CPU_Context_save_fp(
- void **fp_context_ptr
+ Context_Control_fp **fp_context_ptr
);
/*
@@ -1130,7 +1130,7 @@ void _CPU_Context_save_fp(
*/
void _CPU_Context_restore_fp(
- void **fp_context_ptr
+ Context_Control_fp **fp_context_ptr
);
/* The following routine swaps the endian format of an unsigned int.