Changeset c51efdcd in rtems


Ignore:
Timestamp:
Sep 15, 2008, 5:54:11 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
11a6c97
Parents:
182674ed
Message:

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

  • shared/bspstart.c: Use shared bsp_get_work_area() in its own file and rely on BSP Framework to perform more initialization.
  • shared/bspgetworkarea.c: New file.
Location:
c/src/lib/libbsp/sparc
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/ChangeLog

    r182674ed rc51efdcd  
     12008-09-15      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * shared/bspstart.c: Use shared bsp_get_work_area() in its own file and
     4        rely on BSP Framework to perform more initialization.
     5        * shared/bspgetworkarea.c: New file.
     6
    172008-08-18      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/sparc/shared/bspstart.c

    r182674ed rc51efdcd  
    6161
    6262/*
    63  *  This method returns the base address and size of the area which
    64  *  is to be allocated between the RTEMS Workspace and the C Program
    65  *  Heap.
    66  */
    67 void bsp_get_work_area(
    68   void   **work_area_start,
    69   size_t  *work_area_size,
    70   void   **heap_start,
    71   size_t  *heap_size
    72 )
    73 {
    74   /* Tells us where to put the workspace in case remote debugger is present.  */
    75   extern uint32_t rdb_start;
    76   /* must be identical to STACK_SIZE in start.S */
    77   #define STACK_SIZE (16 * 1024)
    78 
    79   *work_area_start       = &end;
    80   *work_area_size       = (void *)rdb_start - (void *)&end - STACK_SIZE;
    81   *heap_start = BSP_BOOTCARD_HEAP_USES_WORK_AREA;
    82   *heap_size = BSP_BOOTCARD_HEAP_SIZE_DEFAULT;
    83 }
    84 
    85 /*
    8663 *  bsp_start
    8764 *
Note: See TracChangeset for help on using the changeset viewer.