Changeset 1899fe4 in rtems


Ignore:
Timestamp:
Feb 17, 2005, 4:29:15 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
8a9eaef
Parents:
2195ccf3
Message:

2005-02-17 Ralf Corsepius <ralf.corsepius@…>

  • startup/bspstart.c: include <rtems/powerpc/powerpc.h>. Use PPC_MINIMUM_STACK_FRAME_SIZE instead of CPU_MINIMUM_STACK_FRAME_SIZE.
Location:
c/src/lib/libbsp/powerpc
Files:
12 edited

Legend:

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

    r2195ccf3 r1899fe4  
     12005-02-17      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * startup/bspstart.c: include <rtems/powerpc/powerpc.h>.
     4        Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
     5        CPU_MINIMUM_STACK_FRAME_SIZE.
     6
    172005-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/powerpc/mbx8xx/startup/bspstart.c

    r2195ccf3 r1899fe4  
    2828#include <libcpu/cpuIdent.h>
    2929#include <libcpu/spr.h>
     30#include <rtems/powerpc/powerpc.h>
    3031
    3132SPR_RW(SPRG0)
     
    168169   */
    169170
    170   intrStack = (((unsigned char*)&intrStackPtr) - CPU_MINIMUM_STACK_FRAME_SIZE);
     171  intrStack = (((unsigned char*)&intrStackPtr) - PPC_MINIMUM_STACK_FRAME_SIZE);
    171172  _write_SPRG1((unsigned int)intrStack);
    172173  /* signal them that we have fixed PR288 - eventually, this should go away */
  • c/src/lib/libbsp/powerpc/mpc8260ads/ChangeLog

    r2195ccf3 r1899fe4  
     12005-02-17      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * startup/bspstart.c: include <rtems/powerpc/powerpc.h>.
     4        Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
     5        CPU_MINIMUM_STACK_FRAME_SIZE.
     6
    172005-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/powerpc/mpc8260ads/startup/bspstart.c

    r2195ccf3 r1899fe4  
    4646#include <rtems/libcsupport.h>
    4747#include <rtems/score/thread.h>
     48#include <rtems/powerpc/powerpc.h>
     49
    4850#include <rtems/bspIo.h>
    4951#include <libcpu/cpuIdent.h>
     
    235237   */
    236238
    237   intrStack = (((unsigned char*)&intrStackPtr) - CPU_MINIMUM_STACK_FRAME_SIZE);
     239  intrStack = (((unsigned char*)&intrStackPtr) - PPC_MINIMUM_STACK_FRAME_SIZE);
    238240  _write_SPRG1((unsigned int)intrStack);
    239241  /* signal that we have fixed PR288 - eventually, this should go away */
  • c/src/lib/libbsp/powerpc/mvme5500/ChangeLog

    r2195ccf3 r1899fe4  
     12005-02-17      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * startup/bspstart.c: include <rtems/powerpc/powerpc.h>.
     4        Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
     5        CPU_MINIMUM_STACK_FRAME_SIZE.
     6
    172005-02-17      Ralf Corsepius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c

    r2195ccf3 r1899fe4  
    3333#include <rtems/libio.h>
    3434#include <rtems/libcsupport.h>
    35 /*#include <bsp/consoleIo.h>*/
     35#include <rtems/powerpc/powerpc.h>
     36
    3637#include <libcpu/spr.h>   /* registers.h is included here */
    3738#include <bsp.h>
     
    4445#include <bsp/bspException.h>
    4546
    46 /* for RTEMS_VERSION :-( I dont like the preassembled string */
    4747#include <rtems/sptables.h>
    4848
     
    372372   * so that it can be printed without accessing R1.
    373373   */
    374   stack = ((unsigned char*) __rtems_end) + INIT_STACK_SIZE - CPU_MINIMUM_STACK_FRAME_SIZE;
     374  stack = ((unsigned char*) __rtems_end) + INIT_STACK_SIZE - PPC_MINIMUM_STACK_FRAME_SIZE;
    375375
    376376 /* tag the bottom (T. Straumann 6/36/2001 <strauman@slac.stanford.edu>) */
     
    391391   */
    392392  intrStack = ((uint32_t) __rtems_end) +
    393           INIT_STACK_SIZE + INTR_STACK_SIZE - CPU_MINIMUM_STACK_FRAME_SIZE;
     393          INIT_STACK_SIZE + INTR_STACK_SIZE - PPC_MINIMUM_STACK_FRAME_SIZE;
    394394
    395395  /* make sure it's properly aligned */
  • c/src/lib/libbsp/powerpc/psim/ChangeLog

    r2195ccf3 r1899fe4  
     12005-02-17      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * startup/bspstart.c: include <rtems/powerpc/powerpc.h>.
     4        Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
     5        CPU_MINIMUM_STACK_FRAME_SIZE.
     6
    172005-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/powerpc/psim/startup/bspstart.c

    r2195ccf3 r1899fe4  
    2222#include <rtems/libcsupport.h>
    2323#include <rtems/bspIo.h>
     24#include <rtems/powerpc/powerpc.h>
     25
    2426#include <libcpu/cpuIdent.h>
    2527#include <libcpu/spr.h>
     
    194196   */
    195197  intrStack = ((uint32_t) __rtems_end) +
    196           INIT_STACK_SIZE + INTR_STACK_SIZE - CPU_MINIMUM_STACK_FRAME_SIZE;
     198          INIT_STACK_SIZE + INTR_STACK_SIZE - PPC_MINIMUM_STACK_FRAME_SIZE;
    197199
    198200  /* make sure it's properly aligned */
  • c/src/lib/libbsp/powerpc/shared/ChangeLog

    r2195ccf3 r1899fe4  
     12005-02-17      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * startup/bspstart.c: include <rtems/powerpc/powerpc.h>.
     4        Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
     5        CPU_MINIMUM_STACK_FRAME_SIZE.
     6
    172005-02-17      Ralf Corsepius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/powerpc/shared/startup/bspstart.c

    r2195ccf3 r1899fe4  
    3535#include <bsp/vectors.h>
    3636#include <bsp/motorola.h>
     37#include <rtems/powerpc/powerpc.h>
    3738
    3839extern void _return_to_ppcbug();
     
    297298   */
    298299  stack = ((unsigned char*) __rtems_end) +
    299                INIT_STACK_SIZE - CPU_MINIMUM_STACK_FRAME_SIZE;
     300               INIT_STACK_SIZE - PPC_MINIMUM_STACK_FRAME_SIZE;
    300301
    301302  /* tag the bottom (T. Straumann 6/36/2001 <strauman@slac.stanford.edu>) */
     
    310311   */
    311312  intrStack = ((uint32_t) __rtems_end) +
    312           INIT_STACK_SIZE + INTR_STACK_SIZE - CPU_MINIMUM_STACK_FRAME_SIZE;
     313          INIT_STACK_SIZE + INTR_STACK_SIZE - PPC_MINIMUM_STACK_FRAME_SIZE;
    313314
    314315  /* make sure it's properly aligned */
  • c/src/lib/libbsp/powerpc/ss555/ChangeLog

    r2195ccf3 r1899fe4  
     12005-02-17      Ralf Corsepius <ralf.corsepius@rtems.org>
     2
     3        * startup/bspstart.c: include <rtems/powerpc/powerpc.h>.
     4        Use PPC_MINIMUM_STACK_FRAME_SIZE instead of
     5        CPU_MINIMUM_STACK_FRAME_SIZE.
     6
    172005-02-16      Ralf Corsepius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c

    r2195ccf3 r1899fe4  
    2929#include <rtems/libcsupport.h>
    3030#include <rtems/bspIo.h>
     31#include <rtems/powerpc/powerpc.h>
    3132
    3233#include <libcpu/cpuIdent.h>
     
    156157   * Initialize some SPRG registers related to irq handling
    157158   */
    158   intrStack = (((unsigned char*)&intrStackPtr) - CPU_MINIMUM_STACK_FRAME_SIZE);
     159  intrStack = (((unsigned char*)&intrStackPtr) - PPC_MINIMUM_STACK_FRAME_SIZE);
    159160  _write_SPRG1((unsigned int)intrStack);
    160161  /* signal them that we have fixed PR288 - eventually, this should go away */
Note: See TracChangeset for help on using the changeset viewer.