STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
portable.h File Reference
#include "deprecated_definitions.h"
#include "portmacro.h"
#include "mpu_wrappers.h"
Include dependency graph for portable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HeapRegion
struct  xHeapStats

Macros

#define portUSING_MPU_WRAPPERS   0
#define portNUM_CONFIGURABLE_REGIONS   1
#define portHAS_STACK_OVERFLOW_CHECKING   0
#define portARCH_NAME   NULL
#define configSTACK_ALLOCATION_FROM_SEPARATE_HEAP   0
#define pvPortMallocStack   pvPortMalloc
#define vPortFreeStack   vPortFree

Typedefs

typedef struct HeapRegion HeapRegion_t
typedef struct xHeapStats HeapStats_t

Functions

StackType_t * pxPortInitialiseStack (StackType_t *pxTopOfStack, TaskFunction_t pxCode, void *pvParameters) PRIVILEGED_FUNCTION
void vPortDefineHeapRegions (const HeapRegion_t *const pxHeapRegions) PRIVILEGED_FUNCTION
void vPortGetHeapStats (HeapStats_t *pxHeapStats)
void * pvPortMalloc (size_t xSize) PRIVILEGED_FUNCTION
void * pvPortCalloc (size_t xNum, size_t xSize) PRIVILEGED_FUNCTION
void vPortFree (void *pv) PRIVILEGED_FUNCTION
void vPortInitialiseBlocks (void) PRIVILEGED_FUNCTION
size_t xPortGetFreeHeapSize (void) PRIVILEGED_FUNCTION
size_t xPortGetMinimumEverFreeHeapSize (void) PRIVILEGED_FUNCTION
BaseType_t xPortStartScheduler (void) PRIVILEGED_FUNCTION
void vPortEndScheduler (void) PRIVILEGED_FUNCTION

Macro Definition Documentation

◆ configSTACK_ALLOCATION_FROM_SEPARATE_HEAP

#define configSTACK_ALLOCATION_FROM_SEPARATE_HEAP   0

Definition at line 90 of file portable.h.

◆ portARCH_NAME

#define portARCH_NAME   NULL

Definition at line 85 of file portable.h.

◆ portHAS_STACK_OVERFLOW_CHECKING

#define portHAS_STACK_OVERFLOW_CHECKING   0

Definition at line 81 of file portable.h.

◆ portNUM_CONFIGURABLE_REGIONS

#define portNUM_CONFIGURABLE_REGIONS   1

Definition at line 77 of file portable.h.

◆ portUSING_MPU_WRAPPERS

#define portUSING_MPU_WRAPPERS   0

Definition at line 73 of file portable.h.

◆ pvPortMallocStack

#define pvPortMallocStack   pvPortMalloc

Definition at line 189 of file portable.h.

◆ vPortFreeStack

#define vPortFreeStack   vPortFree

Definition at line 190 of file portable.h.

Typedef Documentation

◆ HeapRegion_t

typedef struct HeapRegion HeapRegion_t

◆ HeapStats_t

typedef struct xHeapStats HeapStats_t

Function Documentation

◆ pvPortCalloc()

void * pvPortCalloc ( size_t xNum,
size_t xSize )

Definition at line 378 of file heap_4.c.

References heapMULTIPLY_WILL_OVERFLOW, NULL, and pvPortMalloc().

◆ pvPortMalloc()

void * pvPortMalloc ( size_t xSize)

References PRIVILEGED_FUNCTION.

Referenced by osThreadEnumerate(), and pvPortCalloc().

◆ pxPortInitialiseStack()

StackType_t * pxPortInitialiseStack ( StackType_t * pxTopOfStack,
TaskFunction_t pxCode,
void * pvParameters )

References PRIVILEGED_FUNCTION.

◆ vPortDefineHeapRegions()

void vPortDefineHeapRegions ( const HeapRegion_t *const pxHeapRegions)

References PRIVILEGED_FUNCTION.

Referenced by osKernelInitialize().

◆ vPortEndScheduler()

void vPortEndScheduler ( void )

Definition at line 423 of file port.c.

References configASSERT.

Referenced by vTaskEndScheduler().

◆ vPortFree()

◆ vPortGetHeapStats()

◆ vPortInitialiseBlocks()

void vPortInitialiseBlocks ( void )

Definition at line 372 of file heap_4.c.

◆ xPortGetFreeHeapSize()

size_t xPortGetFreeHeapSize ( void )

Definition at line 360 of file heap_4.c.

◆ xPortGetMinimumEverFreeHeapSize()

size_t xPortGetMinimumEverFreeHeapSize ( void )

Definition at line 366 of file heap_4.c.

◆ xPortStartScheduler()