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 )
144 StackType_t *pxPortInitialiseStack(
StackType_t *pxTopOfStack, TaskFunction_t pxCode,
void *pvParameters) PRIVILEGED_FUNCTION;
149 uint8_t *pucStartAddress;
164 void vPortDefineHeapRegions(
const HeapRegion_t *
const pxHeapRegions) PRIVILEGED_FUNCTION;
170 void *pvPortMalloc(
size_t xSize) PRIVILEGED_FUNCTION;
171 void vPortFree(
void *pv) PRIVILEGED_FUNCTION;
172 void vPortInitialiseBlocks(
void) PRIVILEGED_FUNCTION;
173 size_t xPortGetFreeHeapSize(
void) PRIVILEGED_FUNCTION;
174 size_t xPortGetMinimumEverFreeHeapSize(
void) PRIVILEGED_FUNCTION;
180 BaseType_t xPortStartScheduler(
void) PRIVILEGED_FUNCTION;
187 void vPortEndScheduler(
void) PRIVILEGED_FUNCTION;
196 #if( portUSING_MPU_WRAPPERS == 1 )
198 void vPortStoreTaskMPUSettings(xMPU_SETTINGS *xMPUSettings,
const struct xMEMORY_REGION *
const xRegions,
StackType_t *pxBottomOfStack, uint32_t ulStackDepth) PRIVILEGED_FUNCTION;