Changeset 56435e6 in rtems


Ignore:
Timestamp:
Jun 26, 2013, 8:25:42 AM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
a3a4cd5
Parents:
4b83e8f1
git-author:
Sebastian Huber <sebastian.huber@…> (06/26/13 08:25:42)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/26/13 08:31:43)
Message:

powerpc: Fix Altivec support

Use the right context.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/new-exceptions/cpu.c

    r4b83e8f1 r56435e6  
    130130
    131131#ifdef __ALTIVEC__
    132   _CPU_Context_initialize_altivec(the_context);
     132  _CPU_Context_initialize_altivec( the_ppc_context );
    133133#endif
    134134}
  • cpukit/score/cpu/powerpc/rtems/score/cpu.h

    r4b83e8f1 r56435e6  
    10831083void
    10841084_CPU_Context_switch_altivec(
    1085   Context_Control *from,
    1086   Context_Control *to
     1085  ppc_context *from,
     1086  ppc_context *to
    10871087);
    10881088
     
    10951095void
    10961096_CPU_Context_restore_altivec(
    1097   Context_Control *ctxt
     1097  ppc_context *ctxt
    10981098);
    10991099
     
    11061106void
    11071107_CPU_Context_initialize_altivec(
    1108   Context_Control *ctxt
     1108  ppc_context *ctxt
    11091109);
    11101110
Note: See TracChangeset for help on using the changeset viewer.