4.9.2. Controlling the runtime memory model

The behavior of the heap and stack manager can be modified by redefining the functions listed in Table 4.12.

Table 4.12. Memory model initialization

FunctionDescription
__user_initial_stackheap()Returns the location of the initial heap. See __user_initial_stackheap().
__user_heap_extend()Returns the size and base address of a heap extra block. See __user_heap_extend().
__user_stack_slop()Returns the amount of extra stack. See __user_stack_slop().

The hidden static data for the library is provided by __user_libspace(). The static data area is also used as a stack during the library initialization process. This function does not normally require reimplementation. See Tailoring static data access.

Copyright © 1999-2001 ARM Limited. All rights reserved.ARM DUI 0067D
Non-Confidential