| |||
| Home > The C and C++ libraries > __rt_lib_init() | |||
Defined in rt_misc.h, this is the library
initialization function and is the companion to __rt_lib_shutdown().
extern value_in_regs struct __argc_argv __rt_lib_init(unsignedheapbase, unsignedheaptop);
where:
heapbaseis the start of the heap memory block.
heaptopis the end of the heap memory block.
This function is called immediately after __rt_stackheap_init() and
is passed an initial chunk of memory to use as a heap. This function
is the standard ARM C library initialization function and it must
not be reimplemented.