The heap you define using the Heap Address option of the EPPC Linker panel is the default heap. The default heap needs no initialization. The CodeWarrior linker will only link the object code for memory management if your program calls malloc() or new() .
You may find that you do not have enough contiguous memory available for your needs. In this case, you can initialize multiple memory pools to form a large heap.
You create each memory pool by calling init_alloc() . You can find an example of this call in __ppc_eabi_init.c and __ppc_eabi_init.cpp . You do not need to initialize the memory pool for the default heap.