Ignore:
Timestamp:
Sep 15, 2008, 7:18:36 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 5, master
Children:
5e8726d0
Parents:
512d0fc
Message:

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

  • Makefile.am, configure.ac, include/bsp.h, startup/hw_init.c, startup/linkcmds, startup/linkcmds-le, startup/linkcmds-le.coff: 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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sh/simsh4/startup/linkcmds

    r512d0fc r628d804  
    2626ENTRY(_start)
    2727
    28 _HeapSize = DEFINED(_HeapSize) ? _HeapSize : (512 * 1024);
    29 _WorkspaceSize = DEFINED(_WorkspaceSize) ? _WorkspaceSize : (1024 * 1024);
    30 
    3128/* These assignments load code into SH7045F EVB SRAM for monitor debugging */
     29
     30_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00000000;
     31_RamSize = DEFINED(_RamSize) ? _RamSize : 0x01000000;
    3232
    3333MEMORY
     
    8585  .text   .      :
    8686  {
     87    _start = .;
    8788    *(.text*)
    8889    *(.stub)
     
    155156
    156157  . = ALIGN(16);
    157   _HeapStart = . ;
    158   . = . + _HeapSize ;
    159   PROVIDE( _HeapEnd = . );
    160 
    161   . = ALIGN(16);
    162   _WorkSpaceStart = . ;
    163   . = . + _WorkspaceSize ;
    164   PROVIDE(_WorkSpaceEnd = .);
    165 
    166   . = ALIGN(16);
    167158  .stack . : {
    168159     . = . + 4096;
    169160  }
     161
     162  . = ALIGN(16);
     163  _WorkSpaceStart = . ;
    170164
    171165  . = ALIGN(16);
Note: See TracChangeset for help on using the changeset viewer.