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


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/gensh2
Files:
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sh/gensh2/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/gensh2/Makefile.am

    rc51efdcd r11a6c97  
    3737startup_SOURCES = startup/hw_init.c ../../shared/bsplibc.c \
    3838    ../../shared/bsppost.c ../../shared/bsppredriverhook.c \
    39     startup/bspstart.c ../../shared/sbrk.c ../../shared/bootcard.c \
    40     ../../shared/gnatinstallhandler.c ../../shared/bspclean.c
     39    ../shared/bspstart.c ../../shared/bsppretaskinghook.c \
     40    ../shared/bspgetworkarea.c ../../shared/sbrk.c ../../shared/bootcard.c \
     41    ../../shared/gnatinstallhandler.c ../../shared/bspclean.c \
     42    ../shared/bsphwinit.c
    4143scitab_SOURCES = scitab.c
    4244console_SOURCES = ../../sh/shared/console.c console/config.c
  • c/src/lib/libbsp/sh/gensh2/configure.ac

    rc51efdcd r11a6c97  
    3232[If defined, compiles code to jump-start from FLASH, without a monitor])
    3333
     34RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION
     35
    3436# Explicitly list all Makefiles here
    3537AC_CONFIG_FILES([Makefile])
  • c/src/lib/libbsp/sh/gensh2/include/bsp.h

    rc51efdcd r11a6c97  
    7777 */
    7878
    79 extern uint32_t         HeapStart ;
    80 extern uint32_t         HeapEnd ;
    81 extern uint32_t         WorkSpaceStart ;
    82 extern uint32_t         WorkSpaceEnd ;
    83 
    8479extern void *CPU_Interrupt_stack_low ;
    8580extern void *CPU_Interrupt_stack_high ;
     
    8883 *  Device Driver Table Entries
    8984 */
    90 
    91 /*
    92  * We redefine CONSOLE_DRIVER_TABLE_ENTRY to redirect /dev/console
    93  *
    94  * FIXME: Since console driver works properly this is not
    95  * necessary. When enabled - causes error in console_initialize.
    96  */
    97 #if 0
    98 #undef CONSOLE_DRIVER_TABLE_ENTRY
    99 #define CONSOLE_DRIVER_TABLE_ENTRY \
    100   BSP_CONSOLE_DRIVER_TABLE_ENTRY, \
    101   { console_initialize, console_open, console_close, \
    102       console_read, console_write, console_control }
    103 #endif
    10485
    10586/*
  • c/src/lib/libbsp/sh/gensh2/startup/linkcmds

    rc51efdcd r11a6c97  
    4444
    4545/* These assignments load code into SH7045F EVB SRAM for monitor debugging */
     46
     47_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00440000;
     48_RamSize = DEFINED(_RamSize) ? _RamSize : 512K;
    4649
    4750MEMORY
     
    118121  .text   .      :
    119122  {
     123    _start = .;
    120124    *(.text*)
    121125    *(.stub)
     
    187191  PROVIDE (end = .);
    188192
    189   _HeapStart = . ;
    190   . = . + 1024 * 20 ;
    191   PROVIDE( _HeapEnd = . );
    192 
    193193  _WorkSpaceStart = . ;
    194   . = 0x00480000 ;
    195   PROVIDE(_WorkSpaceEnd = .);
    196194
    197195  _CPU_Interrupt_stack_low  = 0xFFFFF000;
Note: See TracChangeset for help on using the changeset viewer.