source: rtems/c/src/lib/libbsp/arm/gba/startup/bspgetworkarea.c @ d37ec8d8

4.115
Last change on this file since d37ec8d8 was d37ec8d8, checked in by Joel Sherrill <joel.sherrill@…>, on 10/07/14 at 22:21:35

arm/gba/startup/bspgetworkarea.c: Fix warning

  • Property mode set to 100644
File size: 483 bytes
Line 
1/*
2 *  The license and distribution terms for this file may be
3 *  found in the file LICENSE in this distribution or at
4 *  http://www.rtems.org/license/LICENSE.
5 */
6
7#include <bsp.h>
8#include <bsp/bootcard.h>
9#include <stdint.h>
10
11extern int _end;
12extern int __heap_limit;
13
14void bsp_work_area_initialize(void)
15{
16  void *area_start = (void *)&_end;
17  uintptr_t area_size  = (uintptr_t)&__heap_limit - (uintptr_t)&_end;
18
19  bsp_work_area_initialize_default( area_start, area_size );
20}
21
Note: See TracBrowser for help on using the repository browser.