Macros | |
#define | configADJUSTED_HEAP_SIZE ( configTOTAL_HEAP_SIZE - portBYTE_ALIGNMENT ) |
#define | MPU_WRAPPERS_INCLUDED_FROM_API_FILE |
Functions | |
void * | pvPortMalloc (size_t xWantedSize) |
void | vPortFree (void *pv) |
void | vPortInitialiseBlocks (void) |
size_t | xPortGetFreeHeapSize (void) |
Variables | |
static uint8_t | ucHeap [configTOTAL_HEAP_SIZE] |
static size_t | xNextFreeByte = ( size_t ) 0 |
#define configADJUSTED_HEAP_SIZE ( configTOTAL_HEAP_SIZE - portBYTE_ALIGNMENT ) |
Referenced by pvPortMalloc(), and xPortGetFreeHeapSize().
#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE |
void* pvPortMalloc | ( | size_t | xWantedSize | ) |
References configADJUSTED_HEAP_SIZE, portPOINTER_SIZE_TYPE, traceMALLOC, ucHeap, vTaskSuspendAll(), xNextFreeByte, and xTaskResumeAll().
Referenced by xEventGroupCreate(), xQueueGenericCreate(), and xStreamBufferGenericCreate().
void vPortFree | ( | void * | pv | ) |
References configASSERT.
Referenced by vEventGroupDelete(), vQueueDelete(), and vStreamBufferDelete().
void vPortInitialiseBlocks | ( | void | ) |
References xNextFreeByte.
size_t xPortGetFreeHeapSize | ( | void | ) |
References configADJUSTED_HEAP_SIZE, and xNextFreeByte.
|
static |
Referenced by pvPortMalloc().
|
static |
Referenced by pvPortMalloc(), vPortInitialiseBlocks(), and xPortGetFreeHeapSize().