#include <stdlib.h>
#include "FreeRTOS.h"
#include "task.h"
Go to the source code of this file.
#define heapMINIMUM_BLOCK_SIZE ( ( size_t ) ( heapSTRUCT_SIZE * 2 ) ) |
#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE |
Value:
\
\
\
\
\
xEnd.pxNextFreeBlock =
NULL; \
\
\
pxFirstFreeBlock = ( void * ) xHeap.ucHeap; \
pxFirstFreeBlock->pxNextFreeBlock = &xEnd; \
}
Definition at line 133 of file heap_2.c.
#define prvInsertBlockIntoFreeList |
( |
|
pxBlockToInsert) | |
|
Value:
size_t xBlockSize; \
\
\
\
\
for( pxIterator = &xStart; pxIterator->pxNextFreeBlock->xBlockSize < xBlockSize; pxIterator = pxIterator->pxNextFreeBlock ) \
{ \
\
} \
\
\
\
pxBlockToInsert->pxNextFreeBlock = pxIterator->pxNextFreeBlock; \
pxIterator->pxNextFreeBlock = pxBlockToInsert; \
}
Definition at line 112 of file heap_2.c.
void* pvPortMalloc |
( |
size_t |
xWantedSize) | |
|
void vPortFree |
( |
void * |
pv) | |
|
void vPortInitialiseBlocks |
( |
void |
) | |
|
size_t xPortGetFreeHeapSize |
( |
void |
) | |
|