New Work Area Initialization API

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Oct 15 13:21:30 UTC 2012


This patch set changes the work area initialization.  The new approach replaces
bsp_get_work_area() with a more flexible table-based initialization.  Further
work may enable malloc() during bsp_start() easily.

The work areas (RTEMS work space and C program heap) will be initialized now in
a separate step and are no longer part of rtems_initialize_data_structures().
Initialization is performed with tables of Heap_Area entries.  This allows
usage of scattered memory areas present on various small scale
micro-controllers.

The sbrk() support API changes also.  The bsp_sbrk_init() must now deal with a
minimum size for the first memory chunk to take the configured work space size
into account.

-- 
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 devel mailing list