45 #include "deprecated_definitions.h" 51 #ifndef portENTER_CRITICAL 52 #include "portmacro.h" 55 #if portBYTE_ALIGNMENT == 32 56 #define portBYTE_ALIGNMENT_MASK ( 0x001f ) 59 #if portBYTE_ALIGNMENT == 16 60 #define portBYTE_ALIGNMENT_MASK ( 0x000f ) 63 #if portBYTE_ALIGNMENT == 8 64 #define portBYTE_ALIGNMENT_MASK ( 0x0007 ) 67 #if portBYTE_ALIGNMENT == 4 68 #define portBYTE_ALIGNMENT_MASK ( 0x0003 ) 71 #if portBYTE_ALIGNMENT == 2 72 #define portBYTE_ALIGNMENT_MASK ( 0x0001 ) 75 #if portBYTE_ALIGNMENT == 1 76 #define portBYTE_ALIGNMENT_MASK ( 0x0000 ) 79 #ifndef portBYTE_ALIGNMENT_MASK 80 #error "Invalid portBYTE_ALIGNMENT definition" 83 #ifndef portNUM_CONFIGURABLE_REGIONS 84 #define portNUM_CONFIGURABLE_REGIONS 1 91 #include "mpu_wrappers.h" 99 #if( portUSING_MPU_WRAPPERS == 1 ) 100 StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode,
void *pvParameters, BaseType_t xRunPrivileged ) PRIVILEGED_FUNCTION;
102 StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode,
void *pvParameters ) PRIVILEGED_FUNCTION;
108 uint8_t *pucStartAddress;
123 void vPortDefineHeapRegions(
const HeapRegion_t *
const pxHeapRegions ) PRIVILEGED_FUNCTION;
129 void *pvPortMalloc(
size_t xSize ) PRIVILEGED_FUNCTION;
130 void vPortFree(
void *pv ) PRIVILEGED_FUNCTION;
131 void vPortInitialiseBlocks(
void ) PRIVILEGED_FUNCTION;
132 size_t xPortGetFreeHeapSize(
void ) PRIVILEGED_FUNCTION;
133 size_t xPortGetMinimumEverFreeHeapSize(
void ) PRIVILEGED_FUNCTION;
139 BaseType_t xPortStartScheduler(
void ) PRIVILEGED_FUNCTION;
146 void vPortEndScheduler(
void ) PRIVILEGED_FUNCTION;
155 #if( portUSING_MPU_WRAPPERS == 1 ) 157 void vPortStoreTaskMPUSettings( xMPU_SETTINGS *xMPUSettings,
const struct xMEMORY_REGION *
const xRegions, StackType_t *pxBottomOfStack, uint32_t ulStackDepth ) PRIVILEGED_FUNCTION;
Definition: portable.h:106