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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.