RTEMS Frequently Asked Questions
During BSP initialization, the bsp_libc_init
routine
is called. This routine initializes the heap as well as
the RTEMS system call layer (open, read, write, etc.) and
the RTEMS reentrancy support for the Cygnus newlib Standard C
Library.
The bsp_libc_init
routine is passed the size and starting
address of the memory area to be used for the program heap as well
as the amount of memory to ask sbrk
for when the heap is
exhausted. For most BSPs, all memory available is placed in the
program heap thus it can not be extended dynamically by calls to
sbrk
.
RTEMS Frequently Asked Questions
Copyright © 1988-2004 OAR Corporation