Changeset dde1fedb in rtems for c/src/lib/libbsp/h8300


Ignore:
Timestamp:
May 15, 2008, 3:55:28 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
ec3007c
Parents:
2211b75c
Message:

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

  • startup/bspstart.c: Add capability for bootcard.c BSP Initialization Framework to ask the BSP where it has memory for the RTEMS Workspace and C Program Heap. These collectively are referred to as work area. If the BSP supports this, then it does not have to include code to split the available memory between the two areas. This reduces the amount of code in the BSP specific bspstart.c file. Additionally, the shared framework can initialize the C Library, call rtems_debug_enable(), and dirty the work area memory. Until most/all BSPs support this new capability, if the BSP supports this, it should call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac. When the transition is complete, this autoconf macro can be removed.
Location:
c/src/lib/libbsp/h8300/h8sim
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/h8300/h8sim/ChangeLog

    r2211b75c rdde1fedb  
     12008-05-15      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * startup/bspstart.c: Add capability for bootcard.c BSP Initialization
     4        Framework to ask the BSP where it has memory for the RTEMS Workspace
     5        and C Program Heap. These collectively are referred to as work area.
     6        If the BSP supports this, then it does not have to include code to
     7        split the available memory between the two areas. This reduces the
     8        amount of code in the BSP specific bspstart.c file. Additionally, the
     9        shared framework can initialize the C Library, call
     10        rtems_debug_enable(), and dirty the work area memory. Until most/all
     11        BSPs support this new capability, if the BSP supports this, it should
     12        call RTEMS_BSP_BOOTCARD_HANDLES_RAM_ALLOCATION from its configure.ac.
     13        When the transition is complete, this autoconf macro can be removed.
     14
    1152008-05-14      Joel Sherrill <joel.sherrill@OARcorp.com>
    216
  • c/src/lib/libbsp/h8300/h8sim/startup/bspstart.c

    r2211b75c rdde1fedb  
    5353    heapSize = (256 * 1024) - (unsigned long)(heapStart);
    5454    bsp_libc_init(heapStart, heapSize, 0);
    55 
    56 #ifdef RTEMS_DEBUG
    57     rtems_debug_enable( RTEMS_DEBUG_ALL_MASK );
    58 #endif
    59 
    6055}
    6156
Note: See TracChangeset for help on using the changeset viewer.