cpu.c, cpu_asm.S, rtems/score/cpu.h: Cleanup of the floating point context initialization, save and restore code.

This commit is contained in:
Thomas Doerfler committed 2009-05-15 07:20:38 +00:00
1 parent 6ec6ceb962
commit 3b7e9bcfcd
4 files changed
+280 -283

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
2009-05-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
* cpu.c, cpu_asm.S, rtems/score/cpu.h: Cleanup of the floating point
context initialization, save and restore code.
2009-03-12 Joel Sherrill <joel.sherrill@OARcorp.com>
PR 1385/cpukit
+6 -2
View File
@@ -14,6 +14,10 @@
#include <rtems/system.h>
#include <rtems/score/isr.h>
#if defined( __mcoldfire__ ) && ( M68K_HAS_FPU == 1 )
uint32_t _CPU_cacr_shadow;
#endif
/* _CPU_Initialize
*
* This routine performs processor dependent initialization.
@@ -185,7 +189,7 @@ const unsigned char _CPU_m68k_BFFFO_table[256] = {
#if (CPU_SOFTWARE_FP == TRUE)
extern Context_Control_fp _fpCCR;
void CPU_Context_save_fp (Context_Control_fp **fp_context_ptr)
void _CPU_Context_save_fp (Context_Control_fp **fp_context_ptr)
{
Context_Control_fp *fp;
@@ -194,7 +198,7 @@ void CPU_Context_save_fp (Context_Control_fp **fp_context_ptr)
*fp = _fpCCR;
}
void CPU_Context_restore_fp (Context_Control_fp **fp_context_ptr)
void _CPU_Context_restore_fp (Context_Control_fp **fp_context_ptr)
{
Context_Control_fp *fp;
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff