Changeset 6a39cd4 in rtems


Ignore:
Timestamp:
Sep 14, 2008, 9:38:25 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
e95cf8c9
Parents:
63c08c0
Message:

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

  • Makefile.am, startup/bspstart.c: Split out bsp_get_work_area() into its own file and use BSP Framework to perform more initialization.
  • startup/bspgetworkarea.c: New file.
Location:
c/src/lib/libbsp/mips/jmr3904
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/mips/jmr3904/ChangeLog

    r63c08c0 r6a39cd4  
     12008-09-14      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile.am, startup/bspstart.c: Split out bsp_get_work_area() into
     4        its own file and use BSP Framework to perform more initialization.
     5        * startup/bspgetworkarea.c: New file.
     6
    172008-09-10      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • c/src/lib/libbsp/mips/jmr3904/Makefile.am

    r63c08c0 r6a39cd4  
    3232startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
    3333    ../../shared/bsppredriverhook.c ../../shared/bsppost.c \
    34     ../../shared/bsppretaskinghook.c \
     34    ../../shared/bsppretaskinghook.c startup/bspgetworkarea.c \
    3535    startup/bspstart.c ../../shared/bootcard.c ../../shared/sbrk.c \
    3636    ../../shared/gnatinstallhandler.c ../../shared/setvec.c
  • c/src/lib/libbsp/mips/jmr3904/startup/bspstart.c

    r63c08c0 r6a39cd4  
    1717#include <bsp.h>
    1818#include <bsp/bootcard.h>
    19 
    20 /*
    21  *  This method returns the base address and size of the area which
    22  *  is to be allocated between the RTEMS Workspace and the C Program
    23  *  Heap.
    24  */
    25 void bsp_get_work_area(
    26   void   **work_area_start,
    27   size_t  *work_area_size,
    28   void   **heap_start,
    29   size_t  *heap_size
    30 )
    31 {
    32   extern int WorkspaceBase;
    33   extern int end;
    34 
    35   *work_area_start       = &WorkspaceBase;
    36   *work_area_size       = (void *)&end - (void *)&WorkspaceBase;
    37   *heap_start = BSP_BOOTCARD_HEAP_USES_WORK_AREA;
    38   *heap_size = BSP_BOOTCARD_HEAP_SIZE_DEFAULT;
    39 }
    4019
    4120/*
     
    6241
    6342/* Structure filled in by get_mem_info.  Only the size field is
    64    actually used (to clear bss), so the others aren't even filled in.  */
     43 * actually used (to clear bss), so the others aren't even filled in.
     44 */
    6545
    6646struct s_mem
Note: See TracChangeset for help on using the changeset viewer.