87 #include "deprecated_definitions.h" 93 #ifndef portENTER_CRITICAL 94 #include "portmacro.h" 97 #if portBYTE_ALIGNMENT == 32 98 #define portBYTE_ALIGNMENT_MASK ( 0x001f ) 101 #if portBYTE_ALIGNMENT == 16 102 #define portBYTE_ALIGNMENT_MASK ( 0x000f ) 105 #if portBYTE_ALIGNMENT == 8 106 #define portBYTE_ALIGNMENT_MASK ( 0x0007 ) 109 #if portBYTE_ALIGNMENT == 4 110 #define portBYTE_ALIGNMENT_MASK ( 0x0003 ) 113 #if portBYTE_ALIGNMENT == 2 114 #define portBYTE_ALIGNMENT_MASK ( 0x0001 ) 117 #if portBYTE_ALIGNMENT == 1 118 #define portBYTE_ALIGNMENT_MASK ( 0x0000 ) 121 #ifndef portBYTE_ALIGNMENT_MASK 122 #error "Invalid portBYTE_ALIGNMENT definition" 125 #ifndef portNUM_CONFIGURABLE_REGIONS 126 #define portNUM_CONFIGURABLE_REGIONS 1 133 #include "mpu_wrappers.h" 141 #if( portUSING_MPU_WRAPPERS == 1 ) 142 StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode,
void *pvParameters, BaseType_t xRunPrivileged ) PRIVILEGED_FUNCTION;
144 StackType_t *pxPortInitialiseStack( StackType_t *pxTopOfStack, TaskFunction_t pxCode,
void *pvParameters ) PRIVILEGED_FUNCTION;
150 uint8_t *pucStartAddress;
165 void vPortDefineHeapRegions(
const HeapRegion_t *
const pxHeapRegions ) PRIVILEGED_FUNCTION;
171 void *pvPortMalloc(
size_t xSize ) PRIVILEGED_FUNCTION;
172 void vPortFree(
void *pv ) PRIVILEGED_FUNCTION;
173 void vPortInitialiseBlocks(
void ) PRIVILEGED_FUNCTION;
174 size_t xPortGetFreeHeapSize(
void ) PRIVILEGED_FUNCTION;
175 size_t xPortGetMinimumEverFreeHeapSize(
void ) PRIVILEGED_FUNCTION;
181 BaseType_t xPortStartScheduler(
void ) PRIVILEGED_FUNCTION;
188 void vPortEndScheduler(
void ) PRIVILEGED_FUNCTION;
197 #if( portUSING_MPU_WRAPPERS == 1 ) 199 void vPortStoreTaskMPUSettings( xMPU_SETTINGS *xMPUSettings,
const struct xMEMORY_REGION *
const xRegions, StackType_t *pxBottomOfStack, uint16_t usStackDepth ) PRIVILEGED_FUNCTION;
Definition: portable.h:148