PDK API Guide for J721E
|
MemoryP interface
Files | |
file | MemoryP.h |
Memory module for the RTOS Porting Interface. | |
Data Structures | |
struct | MemoryP_Stats |
Memory Heap stats. More... | |
Functions | |
void * | MemoryP_ctrlAlloc (uint32_t size, uint8_t alignment) |
Function which is used to allocate memory for control operations. More... | |
void | MemoryP_ctrlFree (void *ptr, uint32_t size) |
Function which is used to free previously allocated control memory. More... | |
void * | MemoryP_dataAlloc (uint32_t size, uint8_t alignment) |
Function which is used to allocate memory for data operations. More... | |
void | MemoryP_dataFree (void *ptr, uint32_t size) |
Function which is used to free previously allocated data memory. More... | |
void | MemoryP_getStats (MemoryP_Stats *stats) |
Function which is used to get data memory stats. More... | |
void* MemoryP_ctrlAlloc | ( | uint32_t | size, |
uint8_t | alignment | ||
) |
Function which is used to allocate memory for control operations.
size | Size of the requested memory |
alignment | Requested alignment in bytes |
void MemoryP_ctrlFree | ( | void * | ptr, |
uint32_t | size | ||
) |
Function which is used to free previously allocated control memory.
ptr | Pointer to the memory to be cleaned up |
size | Size of the memory which is being cleaned up |
void* MemoryP_dataAlloc | ( | uint32_t | size, |
uint8_t | alignment | ||
) |
Function which is used to allocate memory for data operations.
size | Size of the requested memory |
alignment | Requested alignment in bytes |
void MemoryP_dataFree | ( | void * | ptr, |
uint32_t | size | ||
) |
Function which is used to free previously allocated data memory.
ptr | Pointer to the memory to be cleaned up |
size | Size of the memory which is being cleaned up |
void MemoryP_getStats | ( | MemoryP_Stats * | stats | ) |
Function which is used to get data memory stats.
stats | Pointer to memory stats structure |