Changeset 6ce625e in rtems


Ignore:
Timestamp:
Dec 2, 2009, 1:46:45 AM (9 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, master
Children:
af0d586
Parents:
c7f8408d
Message:

2009-12-01 Till Straumann <strauman@…>

  • Makefile.am, start/start.S: Added AltiVec? support (only effective if user modifies psim.cfg: CPU_CFLAGS choosing a CPU architecture with AltiVec? or directly adding -maltivec, -mabi=altivec).
  • start/start.S: removed '.file' statement which confused gdb.
Location:
c/src/lib/libbsp/powerpc/psim
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/psim/ChangeLog

    rc7f8408d r6ce625e  
     12009-12-01      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * Makefile.am, start/start.S: Added AltiVec support
     4        (only effective if user modifies psim.cfg: CPU_CFLAGS
     5        choosing a CPU architecture with AltiVec or directly
     6        adding -maltivec, -mabi=altivec).
     7
     8        * start/start.S: removed '.file' statement which
     9        confused gdb.
     10
    1112009-11-15      Till Straumann <strauman@slac.stanford.edu>
    212
  • c/src/lib/libbsp/powerpc/psim/Makefile.am

    rc7f8408d r6ce625e  
    7979    ../../../libcpu/@RTEMS_CPU@/@exceptions@/irq_bspsupport.rel \
    8080    ../../../libcpu/@RTEMS_CPU@/mpc6xx/mmu.rel \
    81     ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel
     81    ../../../libcpu/@RTEMS_CPU@/mpc6xx/timer.rel \
     82    ../../../libcpu/@RTEMS_CPU@/mpc6xx/altivec.rel
    8283
    8384include $(srcdir)/preinstall.am
  • c/src/lib/libbsp/powerpc/psim/start/start.S

    rc7f8408d r6ce625e  
    2323#include "ppc-asm.h"
    2424
    25         .file   "startsim.s"
    2625        .section ".got2","aw"
    2726        .align  2
     
    9998
    10099.Lnostack:
     100#ifdef __ALTIVEC__
     101        /* enable altivec; this requires the ALTIVEC user
     102         * extension to be installed in the user extension
     103         * slot 0!
     104         */
     105        mfmsr r0
     106        oris  r0, r0, (1<<(31-16-6))
     107        mtmsr r0
     108        /*
     109         * set vscr and vrsave to known values
     110         */
     111        li    r0, 0
     112        mtvrsave r0
     113        vxor   0,0,0
     114        mtvscr 0
     115#endif
    101116        /* set up initial stack frame */
    102117        addi    sp,sp,-4                /* make sure we don't overwrite debug mem */
Note: See TracChangeset for help on using the changeset viewer.