cleaner & greener (was Re: A patch for RTEMS4.10.0 PowerPC heap space initialization)

Sebastian Huber sebastian.huber at embedded-brains.de
Fri May 13 14:37:48 UTC 2011


On 05/13/2011 04:13 PM, Kate Feng wrote:
> +++ rtems-4.10.0/c/src/lib/libbsp/shared/bootcard.c	2011-05-13 09:53:27.000000000 -0400
> @@ -53,6 +53,7 @@
>  
>  #include <bsp/bootcard.h>
>  #include <rtems/bspIo.h>
> +#include <rtems/malloc.h>
>  
>  /*
>   *  At most a single pointer to the cmdline for those target
> @@ -65,6 +66,9 @@
>   */
>  extern bool rtems_unified_work_area;
>  
> +static uintptr_t heap_sbrk_spared=0;
> +extern uintptr_t _bsp_sbrk_init(uintptr_t, uintptr_t*);

The _bsp_sbrk_init() function is only available on PowerPC.

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list