Memory Allocation Routines

XINU Memory Allocation

XINU Memory Allocation and Freeing Routines

In XINU routines are provided for allocating storage for the heap and the stack. There are two routines each:

The stack allocation and freeing routines are only ever called during process creation and destruction. The heap allocation and freeing routines can be called at anytime by the O/S or by an application.

1