FreeRTOS port on GAP8/RISC-V
|
Data Structures | |
struct | BlockLink_t |
Macros | |
#define | MPU_WRAPPERS_INCLUDED_FROM_API_FILE |
#define | heapMINIMUM_BLOCK_SIZE |
#define | heapBITS_PER_BYTE |
Functions | |
static void | prvInsertBlockIntoFreeList (BlockLink_t *pxBlockToInsert) |
void * | pvPortMalloc (size_t xWantedSize) |
void | vPortFree (void *pv) |
size_t | xPortGetFreeHeapSize (void) |
size_t | xPortGetMinimumEverFreeHeapSize (void) |
void | vPortDefineHeapRegions (const HeapRegion_t *const pxHeapRegions) |
void | vPortGetHeapStats (HeapStats_t *pxHeapStats) |
Variables | |
static const size_t | xHeapStructSize |
static BlockLink_t | xStart |
static BlockLink_t * | pxEnd |
static size_t | xFreeBytesRemaining |
static size_t | xMinimumEverFreeBytesRemaining |
static size_t | xNumberOfSuccessfulAllocations |
static size_t | xNumberOfSuccessfulFrees |
static size_t | xBlockAllocatedBit |
#define heapBITS_PER_BYTE |
Referenced by vPortDefineHeapRegions().
#define heapMINIMUM_BLOCK_SIZE |
Referenced by pvPortMalloc().
#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE |
|
static |
References mtCOVERAGE_TEST_MARKER, pxEnd, BlockLink_t::pxNextFreeBlock, and BlockLink_t::xBlockSize.
Referenced by pvPortMalloc(), and vPortFree().
void* pvPortMalloc | ( | size_t | xWantedSize | ) |
void vPortDefineHeapRegions | ( | const HeapRegion_t *const | pxHeapRegions | ) |
void vPortFree | ( | void * | pv | ) |
void vPortGetHeapStats | ( | HeapStats_t * | pxHeapStats | ) |
References portMAX_DELAY, BlockLink_t::pxNextFreeBlock, taskENTER_CRITICAL, taskEXIT_CRITICAL, vTaskSuspendAll(), HeapStats_t::xAvailableHeapSpaceInBytes, BlockLink_t::xBlockSize, xFreeBytesRemaining, xMinimumEverFreeBytesRemaining, HeapStats_t::xMinimumEverFreeBytesRemaining, HeapStats_t::xNumberOfFreeBlocks, xNumberOfSuccessfulAllocations, HeapStats_t::xNumberOfSuccessfulAllocations, xNumberOfSuccessfulFrees, HeapStats_t::xNumberOfSuccessfulFrees, HeapStats_t::xSizeOfLargestFreeBlockInBytes, HeapStats_t::xSizeOfSmallestFreeBlockInBytes, and xTaskResumeAll().
size_t xPortGetFreeHeapSize | ( | void | ) |
References xFreeBytesRemaining.
size_t xPortGetMinimumEverFreeHeapSize | ( | void | ) |
References xMinimumEverFreeBytesRemaining.
|
static |
Referenced by prvInsertBlockIntoFreeList(), and vPortDefineHeapRegions().
|
static |
Referenced by pvPortMalloc().
|
static |
Referenced by pvPortMalloc(), vPortGetHeapStats(), and xPortGetFreeHeapSize().
|
static |
Referenced by pvPortMalloc(), vPortDefineHeapRegions(), and vPortFree().
|
static |
Referenced by vPortGetHeapStats(), and xPortGetMinimumEverFreeHeapSize().
|
static |
Referenced by vPortGetHeapStats().
|
static |
Referenced by vPortGetHeapStats().
|
static |
Referenced by pvPortMalloc().