46#include "deprecated_definitions.h"
52#ifndef portENTER_CRITICAL
56#if portBYTE_ALIGNMENT == 32
57#define portBYTE_ALIGNMENT_MASK (0x001f)
60#if portBYTE_ALIGNMENT == 16
61#define portBYTE_ALIGNMENT_MASK (0x000f)
64#if portBYTE_ALIGNMENT == 8
65#define portBYTE_ALIGNMENT_MASK (0x0007)
68#if portBYTE_ALIGNMENT == 4
69#define portBYTE_ALIGNMENT_MASK (0x0003)
72#if portBYTE_ALIGNMENT == 2
73#define portBYTE_ALIGNMENT_MASK (0x0001)
76#if portBYTE_ALIGNMENT == 1
77#define portBYTE_ALIGNMENT_MASK (0x0000)
80#ifndef portBYTE_ALIGNMENT_MASK
81#error "Invalid portBYTE_ALIGNMENT definition"
84#ifndef portNUM_CONFIGURABLE_REGIONS
85#define portNUM_CONFIGURABLE_REGIONS 1
92#include "mpu_wrappers.h"
100#if (portUSING_MPU_WRAPPERS == 1)
101StackType_t *pxPortInitialiseStack(StackType_t *pxTopOfStack, TaskFunction_t pxCode,
void *pvParameters,
102 BaseType_t xRunPrivileged) PRIVILEGED_FUNCTION;
104StackType_t *pxPortInitialiseStack(StackType_t *pxTopOfStack, TaskFunction_t pxCode,
105 void *pvParameters) PRIVILEGED_FUNCTION;
110 uint8_t *pucStartAddress;
125void vPortDefineHeapRegions(
const HeapRegion_t *
const pxHeapRegions) PRIVILEGED_FUNCTION;
130void * pvPortMalloc(
size_t xSize) PRIVILEGED_FUNCTION;
131void vPortFree(
void *pv) PRIVILEGED_FUNCTION;
132void vPortInitialiseBlocks(
void) PRIVILEGED_FUNCTION;
133size_t xPortGetFreeHeapSize(
void) PRIVILEGED_FUNCTION;
134size_t xPortGetMinimumEverFreeHeapSize(
void) PRIVILEGED_FUNCTION;
140BaseType_t xPortStartScheduler(
void) PRIVILEGED_FUNCTION;
147void vPortEndScheduler(
void) PRIVILEGED_FUNCTION;
156#if (portUSING_MPU_WRAPPERS == 1)
158void vPortStoreTaskMPUSettings(xMPU_SETTINGS *xMPUSettings,
const struct xMEMORY_REGION *
const xRegions,
159 StackType_t *pxBottomOfStack, uint32_t ulStackDepth) PRIVILEGED_FUNCTION;
Definition portable.h:109