Changeset 1a7c300 in rtems


Ignore:
Timestamp:
Aug 19, 2008, 6:46:20 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
930775d
Parents:
14d1db6
Message:

2008-08-19 Joel Sherrill <joel.sherrill@…>

  • rtems/score/cpu.h: Fix type when initializing FP context.
Location:
cpukit/score/cpu/m68k
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/m68k/ChangeLog

    r14d1db6 r1a7c300  
     12008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * rtems/score/cpu.h: Fix type when initializing FP context.
     4
    152008-08-19      Joel Sherrill <joel.sherrill@OARcorp.com>
    26
  • cpukit/score/cpu/m68k/rtems/score/cpu.h

    r14d1db6 r1a7c300  
    443443#if (defined(__mcoldfire__) && ( M68K_HAS_FPU == 1 ))
    444444#define _CPU_Context_Initialize_fp( _fp_area ) \
    445    { uint32_t   *_fp_context = (uint32_t   *)*(_fp_area); \
     445   { uint32_t   *_fp_context = (uint32_t *)*(_fp_area); \
    446446     \
    447447     *(--(_fp_context)) = 0; \
    448      *(_fp_area) = (uint8_t  *)(_fp_context); \
     448     *(_fp_area) = (void *)(_fp_context); \
    449449     asm volatile("movl %0,%%macsr": : "d" (0) ); \
    450450   }
    451451#else
    452452#define _CPU_Context_Initialize_fp( _fp_area ) \
    453    { uint32_t   *_fp_context = (uint32_t   *)*(_fp_area); \
     453   { uint32_t   *_fp_context = (uint32_t *)*(_fp_area); \
    454454     \
    455455     *(--(_fp_context)) = 0; \
    456      *(_fp_area) = (uint8_t  *)(_fp_context); \
     456     *(_fp_area) = (void *)(_fp_context); \
    457457   }
    458458#endif
Note: See TracChangeset for help on using the changeset viewer.