1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
32 33 34 35
36
37 requires ti.sysbios.interfaces;
38
39 /*!
40 * ======== ti.sysbios.heaps ========
41 * Contains modules that inherit from IHeap.
42 *
43 * A "Heap" is a module that implements the IHeap interface. Heaps are
44 * dynamic memory managers: they manage a specific piece of memory and
45 * support allocating and freeing pieces ("blocks") of that memory.
46 *
47 * The {@link xdc.runtime.Memory} module is the common interface for all
48 * memory operations. Actual memory management is performed by a Heap
49 * instance, such as an instance of HeapMem or HeapBuf. For example,
50 * Memory_alloc() is used at runtime to dynamically allocate memory.
51 * All of the Memory APIs take a Heap instance as one of their parameters.
52 * Internally, the Memory module calls into the heap�s interface functions.
53 *
54 * The xdc.runtime.Memory module is documented in the XDCtools online help.
55 * Implementations of Heaps provided by SYS/BIOS are discussed here.
56 *
57 * Memory allocation sizes are measured in "Minimum Addressable Units"
58 * (MAUs) of memory. An MAU is the smallest unit of data storage that can
59 * be read or written by the CPU. For the C5000, this is a 16-bit word.
60 * For the C28x, this is an 16-bit word. For the all other currently
61 * supported target families�including C6000, ARM, and MSP430�this is an
62 * 8-bit byte.
63 *
64 */
65 package ti.sysbios.heaps [2,0,0,0] {
66 module HeapBuf;
67 module HeapMem;
68 module HeapMultiBuf;
69 module HeapNull;
70 module HeapTrack;
71 module HeapCallback;
72 }