Changeset 512d0fc in rtems


Ignore:
Timestamp:
Sep 15, 2008, 7:18:31 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
628d804
Parents:
11a6c97
Message:

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

  • Makefile.am, configure.ac, include/bsp.h, startup/linkcmds: Use shared bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization. After factoring this out, it turned out that all SuperH BSPs has the same bsp_start() implementation so this was made shared.
Location:
c/src/lib/libbsp/sh/shsim
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sh/shsim/ChangeLog

    r11a6c97 r512d0fc  
     12008-09-15      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile.am, configure.ac, include/bsp.h, startup/linkcmds: Use
     4        shared bsp_get_work_area() in its own file and rely on BSP Framework
     5        to perform more initialization. After factoring this out, it turned
     6        out that all SuperH BSPs has the same bsp_start() implementation so
     7        this was made shared.
     8
    192008-09-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    210
  • c/src/lib/libbsp/sh/shsim/Makefile.am

    r11a6c97 r512d0fc  
    3636
    3737startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
    38     ../../shared/bsppredriverhook.c startup/bspstart.c \
     38    ../../shared/bsppredriverhook.c ../shared/bspstart.c \
     39    ../../shared/bsppretaskinghook.c ../shared/bspgetworkarea.c \
    3940    ../../shared/bspclean.c ../../shared/sbrk.c ../../shared/bootcard.c \
    40     ../../shared/gnatinstallhandler.c
     41    ../../shared/gnatinstallhandler.c ../shared/bsphwinit.c
    4142clock_SOURCES = clock/clockdrv.c
    4243scitab_SOURCES = scitab.c
  • c/src/lib/libbsp/sh/shsim/configure.ac

    r11a6c97 r512d0fc  
    6262[cpu clock rate in HZ])
    6363
     64RTEMS_BSPOPTS_SET([START_HW_INIT],[*],[])
     65RTEMS_BSPOPTS_HELP([START_HW_INIT],
     66[If defined, selects whether 'early_hw_init()' is called from 'start.S';
     67 'bsp_hw_init()' is always called from 'bspstart.c'])
     68
    6469## Used in scitab/Makefile.am
    6570AC_SUBST(CPU_CLOCK_RATE_HZ)
     71
     72RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION
    6673
    6774# Explicitly list all Makefiles here
  • c/src/lib/libbsp/sh/shsim/include/bsp.h

    r11a6c97 r512d0fc  
    5757 */
    5858
    59 extern uint32_t         HeapStart ;
    60 extern uint32_t         HeapEnd ;
    61 extern uint32_t         WorkSpaceStart ;
    62 extern uint32_t         WorkSpaceEnd ;
    63 
    6459extern void *CPU_Interrupt_stack_low ;
    6560extern void *CPU_Interrupt_stack_high ;
  • c/src/lib/libbsp/sh/shsim/startup/linkcmds

    r11a6c97 r512d0fc  
    2323ENTRY(_start)
    2424
     25_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00040000;
     26_RamSize = DEFINED(_RamSize) ? _RamSize : 512K;
     27
    2528MEMORY
    2629{
     
    4043{
    4144  /* boot vector table */
    42   .monvects 0x00000000 (NOLOAD) :
     45  .monvects (NOLOAD) :
    4346  {
    4447    _monvects = . ;
     
    102105  .text   .      :
    103106  {
     107    _start = .;
    104108    *(.text*)
    105109    *(.stub)
     
    174178  PROVIDE (end = .);
    175179
    176   _HeapStart = . ;
    177   . = . + 1024 * 20 ;
    178   PROVIDE( _HeapEnd = . );
    179 
    180180  _WorkSpaceStart = . ;
    181   /* XXX . = 0x00080000 ; */
    182   PROVIDE(_WorkSpaceEnd = .);
    183181
    184182  _CPU_Interrupt_stack_low  = 0x00080000 ;
Note: See TracChangeset for help on using the changeset viewer.