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-le

    r512d0fc r628d804  
    99   __DYNAMIC = 0;    */
    1010
    11 _HeapSize = DEFINED(_HeapSize) ? _HeapSize : (512 * 1024);
    12 _WorkspaceSize = DEFINED(_WorkspaceSize) ? _WorkspaceSize : (1024 * 1024);
     11_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00000000;
     12_RamSize = DEFINED(_RamSize) ? _RamSize : 0x01000000;
    1313
    1414MEMORY
     
    8787  {
    8888    . = . + 16;
     89    _start = .;
    8990    *(.text*)
    9091    *(.stub)
     
    195196
    196197  . = ALIGN(16);
    197   _HeapStart = . ;
    198   . = . + _HeapSize ;
    199   PROVIDE( _HeapEnd = . );
    200 
    201   . = ALIGN(16);
    202   _WorkSpaceStart = . ;
    203   . = . + _WorkspaceSize ;
    204   PROVIDE(_WorkSpaceEnd = .);
    205 
    206   . = ALIGN(16);
    207198  .stack . : {
    208199     . = . + 4096;
    209200  }
     201
     202  . = ALIGN(16);
     203  _WorkSpaceStart = . ;
    210204
    211205  . = ALIGN(16);
Note: See TracChangeset for help on using the changeset viewer.