diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-19 12:41:03 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-08-19 12:41:03 +0000 |
commit | f3eaba9a0c6ec185afd565d8a155ee88f1413c06 (patch) | |
tree | bcbfde26988e57f5a307ffddecb44ee89ec04df8 /c/src/lib/libbsp/shared/bsplibc.c | |
parent | 2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-f3eaba9a0c6ec185afd565d8a155ee88f1413c06.tar.bz2 |
2008-08-19 Sebastian Huber <sebastian.huber@embedded-brains.de>
* include/bootcard.h, bootcard.c, bsplibc.c: Changed parameter types of
bsp_libc_init() to match RTEMS_Malloc_Initialize().
* bsppost.c, bsppredriverhook.c: Include bootcard.h.
* src/irq-generic.c: Fixed warnings.
Diffstat (limited to 'c/src/lib/libbsp/shared/bsplibc.c')
-rw-r--r-- | c/src/lib/libbsp/shared/bsplibc.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/shared/bsplibc.c b/c/src/lib/libbsp/shared/bsplibc.c index 1bd0ac502c..11c0c49607 100644 --- a/c/src/lib/libbsp/shared/bsplibc.c +++ b/c/src/lib/libbsp/shared/bsplibc.c @@ -9,13 +9,15 @@ #include <rtems/libio.h> #include <rtems/libcsupport.h> +#include <bsp/bootcard.h> + void bsp_libc_init( - void *heap_start, - uint32_t heap_size, - int use_sbrk + void *heap_start, + size_t heap_size, + size_t sbrk_amount ) { - RTEMS_Malloc_Initialize( heap_start, heap_size, use_sbrk ); + RTEMS_Malloc_Initialize( heap_start, heap_size, sbrk_amount ); /* * Init the RTEMS libio facility to provide UNIX-like system |