package ti.sysbios.heaps

Contains modules that inherit from IHeap

A "Heap" is a module that implements the IHeap interface. Heaps are dynamic memory managers: they manage a specific piece of memory and support allocating and freeing pieces ("blocks") of that memory. [ more ... ]
XDCspec declarations sourced in ti/sysbios/heaps/package.xdc
 
package ti.sysbios.heaps [2, 0, 0, 0] {
 
    module HeapBuf;
    // Fixed size buffer heap manager
    module HeapCallback;
    // A heap that calls user supplied callback functions
    module HeapMem;
    // Variable size buffer heap manager
    module HeapMultiBuf;
    // Multiple fixed size buffer heap manager
    module HeapNull;
    // Empty heap
    module HeapTrack;
    // Heap manager that enables tracking of all allocated blocks
}
DETAILS
A "Heap" is a module that implements the IHeap interface. Heaps are dynamic memory managers: they manage a specific piece of memory and support allocating and freeing pieces ("blocks") of that memory.
The xdc.runtime.Memory module is the common interface for all memory operations. Actual memory management is performed by a Heap instance, such as an instance of HeapMem or HeapBuf. For example, Memory_alloc() is used at runtime to dynamically allocate memory. All of the Memory APIs take a Heap instance as one of their parameters. Internally, the Memory module calls into the heap�s interface functions.
The xdc.runtime.Memory module is documented in the XDCtools online help. Implementations of Heaps provided by SYS/BIOS are discussed here.
Memory allocation sizes are measured in "Minimum Addressable Units" (MAUs) of memory. An MAU is the smallest unit of data storage that can be read or written by the CPU. For the C5000, this is a 16-bit word. For the C28x, this is an 16-bit word. For the all other currently supported target families�including C6000, ARM, and MSP430�this is an 8-bit byte.
generated on Thu, 25 May 2017 22:10:04 GMT