44 #ifndef SAFERTOS_MPU_H 45 #define SAFERTOS_MPU_H 56 #include "SafeRTOS_API.h" 58 #define CSL_ARM_R5F_MPU_REGIONS_MAX ((uint32_t) 16U) 59 #define CSL_ARM_R5_MPU_REGION_SIZE_32BYTE ((uint32_t) 32U) 61 #define CSL_ARM_R5_ACC_PERM_PRIV_USR_RD_WR ((uint32_t) 0x3U) 63 #define CSL_ARM_R5_CACHE_POLICY_NON_CACHEABLE ((uint32_t) 0x0U) 65 #define CSL_ARM_R5_CACHE_POLICY_WB_WA ((uint32_t) 0x1U) 67 #define CSL_ARM_R5_MEM_ATTR_MAX ((uint32_t) 0x7U) 68 #define CSL_ARM_R5_MPU_REGION_AC_XN_SHIFT (0x0000000CU) 69 #define CSL_ARM_R5_MPU_REGION_AC_AP_SHIFT (0x00000008U) 70 #define CSL_ARM_R5_MPU_REGION_AC_S_SHIFT (0x00000002U) 71 #define CSL_ARM_R5_MPU_REGION_AC_TEX_SHIFT (0x00000003U) 72 #define CSL_ARM_R5_MPU_REGION_AC_CB_SHIFT (0x00000000U) 73 #define CSL_ARM_R5_MPU_REGION_AC_B_SHIFT (0x00000000U) 74 #define CSL_ARM_R5_MPU_REGION_AC_C_SHIFT (0x00000001U) 79 typedef struct MPU_CONFIG_ACCESS
91 typedef struct MPU_CONFIG_PARAMETERS
107 __attribute__((section(
".startupCode"))) portBaseType xConfigureMPU(
void);
portUInt32Type ulshareable
Definition: SafeRTOS_MPU.h:83
portUInt32Type ulSubRegionDisable
Definition: SafeRTOS_MPU.h:100
xMPU_CONFIG_ACCESS xRegionAccess
Definition: SafeRTOS_MPU.h:98
portUInt32Type ulRegionNumber
Definition: SafeRTOS_MPU.h:95
portUInt32Type ulaccessPermission
Definition: SafeRTOS_MPU.h:82
__attribute__((section(".startupCode"))) portBaseType xConfigureMPU(void)
Definition: SafeRTOS_MPU.h:79
portUInt32Type ulmemAttr
Definition: SafeRTOS_MPU.h:86
portUInt32Type ulexeNeverControl
Definition: SafeRTOS_MPU.h:81
Definition: SafeRTOS_MPU.h:91
This file contains the Register Desciptions for CSL types.
portUInt32Type ulcachePolicy
Definition: SafeRTOS_MPU.h:85
portUInt32Type ulRegionSize
Definition: SafeRTOS_MPU.h:99
portUInt32Type ulcacheable
Definition: SafeRTOS_MPU.h:84
portUInt32Type ulRegionBeginAddress
Definition: SafeRTOS_MPU.h:97