47 #ifndef ti_osal_HeapP__include 48 #define ti_osal_HeapP__include 60 #define HeapP_BYTE_ALIGNMENT (256U) 65 typedef enum HeapP_Status_e
87 typedef struct HeapP_Params_s
96 typedef struct HeapP_MemStats_s
HeapP_Status HeapP_delete(HeapP_Handle handle)
Delete the user defined heap.
HeapP_Status HeapP_getHeapStats(HeapP_Handle handle, HeapP_MemStats *stats)
Get detailed heap statistics.
void * HeapP_Handle
Opaque client reference to an instance of a HeapP.
Definition: HeapP.h:79
HeapP_Handle HeapP_create(const HeapP_Params *params)
Create a user defined heap.
uint32_t totalSize
Definition: HeapP.h:98
void HeapP_Params_init(HeapP_Params *params)
Initialize params structure to default values.
Structure used to pass information about the heap out of HeapP_getHeapStats().
Definition: HeapP.h:96
void * HeapP_alloc(HeapP_Handle handle, uint32_t allocSize)
Alloc memory from user defined heap.
void * buf
Definition: HeapP.h:89
uint32_t totalFreeSize
Definition: HeapP.h:99
uint32_t size
Definition: HeapP.h:90
uint16_t size
Definition: tisci_boardcfg.h:112
HeapP_Status HeapP_free(HeapP_Handle handle, void *ptr, uint32_t size)
Free memory from user defined heap.
uint32_t largestFreeSize
Definition: HeapP.h:100
HeapP_Status
Status codes for HeapP APIs.
Definition: HeapP.h:65
Basic HeapP Parameters.
Definition: HeapP.h:87