Changeset 11a6c97 in rtems for c/src/lib/libbsp/sh/gensh1


Ignore:
Timestamp:
Sep 15, 2008, 7:18:29 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
512d0fc
Parents:
c51efdcd
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.
  • startup/bspstart.c: Removed.
Location:
c/src/lib/libbsp/sh/gensh1
Files:
1 deleted
5 edited

Legend:

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

    rc51efdcd r11a6c97  
     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        * startup/bspstart.c: Removed.
     9
    1102008-09-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    211
  • c/src/lib/libbsp/sh/gensh1/Makefile.am

    rc51efdcd r11a6c97  
    3636
    3737startup_SOURCES = ../../shared/bsplibc.c ../../shared/bsppost.c \
    38     ../../shared/bsppredriverhook.c startup/bspstart.c startup/bspclean.c \
    39     ../../shared/sbrk.c ../../shared/bootcard.c \
     38    ../../shared/bsppredriverhook.c ../shared/bspstart.c startup/bspclean.c \
     39    ../shared/bspgetworkarea.c ../../shared/bsppretaskinghook.c \
     40    ../../shared/sbrk.c ../../shared/bootcard.c ../shared/bsphwinit.c \
    4041    ../../shared/gnatinstallhandler.c
    4142scitab_SOURCES = scitab.c
  • c/src/lib/libbsp/sh/gensh1/configure.ac

    rc51efdcd r11a6c97  
    2020RTEMS_BSPOPTS_HELP([CPU_CLOCK_RATE_HZ],[cpu clock rate in HZ])
    2121
     22RTEMS_BSPOPTS_SET([START_HW_INIT],[*],[])
     23RTEMS_BSPOPTS_HELP([START_HW_INIT],
     24[If defined, selects whether 'early_hw_init()' is called from 'start.S';
     25 'bsp_hw_init()' is always called from 'bspstart.c'])
     26
    2227## Used in scitab/Makefile.am
    2328AC_SUBST(CPU_CLOCK_RATE_HZ)
     29
     30RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION
    2431
    2532# Explicitly list all Makefiles here
  • c/src/lib/libbsp/sh/gensh1/include/bsp.h

    rc51efdcd r11a6c97  
    6161 */
    6262
    63 extern uint32_t         HeapStart ;
    64 extern uint32_t         HeapEnd ;
    65 extern uint32_t         WorkSpaceStart ;
    66 extern uint32_t         WorkSpaceEnd ;
    67 
    6863extern void *CPU_Interrupt_stack_low ;
    6964extern void *CPU_Interrupt_stack_high ;
  • c/src/lib/libbsp/sh/gensh1/startup/linkcmds

    rc51efdcd r11a6c97  
    3131OUTPUT_ARCH(sh)
    3232ENTRY(_start)
     33
     34_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0a040000;
     35_RamSize = DEFINED(_RamSize) ? _RamSize : 512K;
    3336
    3437MEMORY
     
    105108  .text   .      :
    106109  {
     110    _start = .;
    107111    *(.text*)
    108112    *(.stub)
     
    176180  PROVIDE (end = .);
    177181
    178   _HeapStart = . ;
    179   . = . + 1024 * 20 ;
    180   PROVIDE( _HeapEnd = . );
    181 
    182182  _WorkSpaceStart = . ;
    183   . = 0x0a080000 ;
    184   PROVIDE(_WorkSpaceEnd = .);
    185183
    186184  _CPU_Interrupt_stack_low  = 0x0f000000 ;
Note: See TracChangeset for help on using the changeset viewer.