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.coff

    r512d0fc r628d804  
    2525ENTRY(_start)
    2626
    27 _HeapSize = DEFINED(_HeapSize) ? _HeapSize : (512 * 1024);
    28 _WorkspaceSize = DEFINED(_WorkspaceSize) ? _WorkspaceSize : (1024 * 1024);
    29 
    3027/* These assignments load code into SH7045F EVB SRAM for monitor debugging */
     28
     29_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00000000;
     30_RamSize = DEFINED(_RamSize) ? _RamSize : 0x01000000;
    3131
    3232MEMORY
     
    8484  .text   .      :
    8585  {
     86    _start = .;
    8687    *(.text*)
    8788    *(.stub)
     
    154155
    155156  . = ALIGN(16);
    156   _HeapStart = . ;
    157   . = . + _HeapSize ;
    158   PROVIDE( _HeapEnd = . );
    159 
    160   . = ALIGN(16);
    161   _WorkSpaceStart = . ;
    162   . = . + _WorkspaceSize ;
    163   PROVIDE(_WorkSpaceEnd = .);
    164 
    165   . = ALIGN(16);
    166157  .stack . : {
    167158     . = . + 4096;
    168159  }
     160  . = ALIGN(16);
     161  _WorkSpaceStart = . ;
    169162
    170163  . = ALIGN(16);
Note: See TracChangeset for help on using the changeset viewer.