Changeset 1a3db548 in rtems for c/src/lib/libbsp/powerpc/ep1a


Ignore:
Timestamp:
Sep 19, 2008, 9:04:15 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
127e726a
Parents:
7a2125c
Message:

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

  • Makefile.am, include/bsp.h, startup/bspstart.c: Use PowerPC level shared bsp_get_work_area() implementation.
  • startup/bspgetworkarea.c: Removed.
Location:
c/src/lib/libbsp/powerpc/ep1a
Files:
1 deleted
4 edited

Legend:

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

    r7a2125c r1a3db548  
     12008-09-19      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile.am, include/bsp.h, startup/bspstart.c: Use PowerPC level
     4        shared bsp_get_work_area() implementation.
     5        * startup/bspgetworkarea.c: Removed.
     6
    172008-09-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • c/src/lib/libbsp/powerpc/ep1a/Makefile.am

    r7a2125c r1a3db548  
    2626startup_SOURCES = startup/bspstart.c ../../shared/bootcard.c \
    2727    ../../shared/bsppost.c ../../shared/bsppredriverhook.c \
    28     startup/bspgetworkarea.c ../../shared/bsplibc.c \
     28    ../../powerpc/shared/startup/bspgetworkarea.c ../../shared/bsplibc.c \
    2929    ../../powerpc/shared/startup/sbrk.c \
    3030    ../../shared/bspclean.c ../../shared/gnatinstallhandler.c \
  • c/src/lib/libbsp/powerpc/ep1a/include/bsp.h

    r7a2125c r1a3db548  
    203203#define BSP_FLASH_SET_PAGE(_page)       BSP_FLASH_set_page( _page )
    204204
    205 /*
    206  * system init stack
    207  */
    208 #define BSP_INIT_STACK_SIZE 0x1000
    209 
    210205/* clear hostbridge errors
    211206 *
  • c/src/lib/libbsp/powerpc/ep1a/startup/bspstart.c

    r7a2125c r1a3db548  
    4646
    4747uint8_t LightIdx = 0;
     48
     49extern int RAM_END;
     50unsigned int BSP_mem_size = (unsigned int)&RAM_END;
    4851
    4952void BSP_Increment_Light(void){
     
    273276void bsp_start( void )
    274277{
    275   unsigned char *stack;
    276278  uint32_t intrStackStart;
    277279  uint32_t intrStackSize;
     
    310312
    311313  /*
    312    * the initial stack  has aready been set to this value in start.S
    313    * so there is no need to set it in r1 again... It is just for info
    314    * so that It can be printed without accessing R1.
    315    */
    316   stack = ((unsigned char*) __rtems_end) + BSP_INIT_STACK_SIZE
    317           - PPC_MINIMUM_STACK_FRAME_SIZE;
    318 
    319  /* tag the bottom (T. Straumann 6/36/2001 <strauman@slac.stanford.edu>) */
    320   *((uint32_t *)stack) = 0;
    321 
    322   /*
    323314   * Initialize the interrupt related settings.
    324315   */
    325   intrStackStart = (uint32_t) __rtems_end + BSP_INIT_STACK_SIZE;
     316  intrStackStart = (uint32_t) __rtems_end;
    326317  intrStackSize = rtems_configuration_get_interrupt_stack_size();
    327318
Note: See TracChangeset for help on using the changeset viewer.