#include <fsl_common.h>
Go to the source code of this file.
◆ BM0_SM_SHIFT
◆ BM0_UM_SHIFT
◆ BM1_SM_SHIFT
◆ BM1_UM_SHIFT
◆ BM2_SM_SHIFT
◆ BM2_UM_SHIFT
◆ BM3_SM_SHIFT
◆ BM3_UM_SHIFT
◆ BM4_PERMISSIONS
#define BM4_PERMISSIONS 0 |
◆ BM4_RE_SHIFT
◆ BM4_WE_SHIFT
◆ ENDADDR_ROUND
#define ENDADDR_ROUND |
( |
|
x | ) |
(x - 0x1F) |
◆ K_MEM_PARTITION_IS_EXECUTABLE
#define K_MEM_PARTITION_IS_EXECUTABLE |
( |
|
attr | ) |
|
Value: ({ \
int __is_executable__; \
switch (attr.ap_attr) { \
__is_executable__ = 1; \
break; \
default: \
__is_executable__ = 0; \
} \
__is_executable__; \
})
#define MPU_REGION_SU_RX
Definition: nxp_mpu.h:71
#define MPU_REGION_EXEC
Definition: nxp_mpu.h:60
◆ K_MEM_PARTITION_IS_WRITABLE
#define K_MEM_PARTITION_IS_WRITABLE |
( |
|
attr | ) |
|
Value: ({ \
int __is_writable__; \
switch (attr.ap_attr) { \
__is_writable__ = 1; \
break; \
default: \
__is_writable__ = 0; \
} \
__is_writable__; \
})
#define MPU_REGION_WRITE
Definition: nxp_mpu.h:54
#define MPU_REGION_SU_RW
Definition: nxp_mpu.h:76
◆ K_MEM_PARTITION_P_NA_U_NA
#define K_MEM_PARTITION_P_NA_U_NA |
Value:
uint32_t k_mem_partition_attr_t
Definition: arch.h:267
#define MPU_REGION_SU
Definition: nxp_mpu.h:66
◆ K_MEM_PARTITION_P_RO_U_NA
#define K_MEM_PARTITION_P_RO_U_NA |
◆ K_MEM_PARTITION_P_RO_U_RO
#define K_MEM_PARTITION_P_RO_U_RO |
Value:
#define MPU_REGION_READ
Definition: nxp_mpu.h:48
◆ K_MEM_PARTITION_P_RW_U_NA
#define K_MEM_PARTITION_P_RW_U_NA |
◆ K_MEM_PARTITION_P_RW_U_RO
#define K_MEM_PARTITION_P_RW_U_RO |
◆ K_MEM_PARTITION_P_RW_U_RW
#define K_MEM_PARTITION_P_RW_U_RW |
◆ K_MEM_PARTITION_P_RWX_U_RWX
#define K_MEM_PARTITION_P_RWX_U_RWX |
◆ K_MEM_PARTITION_P_RWX_U_RX
#define K_MEM_PARTITION_P_RWX_U_RX |
Value:
#define MPU_REGION_SU_RWX
Definition: nxp_mpu.h:81
◆ K_MEM_PARTITION_P_RX_U_RX
#define K_MEM_PARTITION_P_RX_U_RX |
◆ MPU_REGION_ENTRY
#define MPU_REGION_ENTRY |
( |
|
_name, |
|
|
|
_base, |
|
|
|
_end, |
|
|
|
_attr |
|
) |
| |
Value: {\
.name = _name, \
.base = _base, \
.end = _end, \
.attr = _attr, \
}
◆ MPU_REGION_EXEC
Value:
#define BM3_UM_SHIFT
Definition: nxp_mpu.h:25
#define BM2_UM_SHIFT
Definition: nxp_mpu.h:24
#define BM0_UM_SHIFT
Definition: nxp_mpu.h:22
#define BM1_UM_SHIFT
Definition: nxp_mpu.h:23
#define UM_EXEC
Definition: nxp_mpu.h:20
◆ MPU_REGION_READ
Value:
#define UM_READ
Definition: nxp_mpu.h:18
◆ MPU_REGION_SU
Value:
#define BM2_SM_SHIFT
Definition: nxp_mpu.h:35
#define BM0_SM_SHIFT
Definition: nxp_mpu.h:33
#define SM_SAME_AS_UM
Definition: nxp_mpu.h:31
#define BM1_SM_SHIFT
Definition: nxp_mpu.h:34
#define BM3_SM_SHIFT
Definition: nxp_mpu.h:36
◆ MPU_REGION_SU_RW
Value:
#define SM_RW_ALLOW
Definition: nxp_mpu.h:30
◆ MPU_REGION_SU_RWX
#define MPU_REGION_SU_RWX |
Value:
#define SM_RWX_ALLOW
Definition: nxp_mpu.h:28
◆ MPU_REGION_SU_RX
Value:
#define SM_RX_ALLOW
Definition: nxp_mpu.h:29
◆ MPU_REGION_WRITE
Value:
#define UM_WRITE
Definition: nxp_mpu.h:19
◆ NXP_MPU_BASE
#define NXP_MPU_BASE SYSMPU_BASE |
◆ NXP_MPU_REGION_NUMBER
#define NXP_MPU_REGION_NUMBER 12 |
◆ REGION_BACKGROUND_ATTR
◆ REGION_DEBUG_ATTR
◆ REGION_DEBUGGER_AND_DEVICE_ATTR
#define REGION_DEBUGGER_AND_DEVICE_ATTR |
Value:
#define BM4_PERMISSIONS
Definition: nxp_mpu.h:44
◆ REGION_FLASH_ATTR
#define REGION_FLASH_ATTR |
Value:
MPU_REGION_EXEC | \
MPU_REGION_SU)}
◆ REGION_IO_ATTR
Value:
MPU_REGION_WRITE | \
MPU_REGION_EXEC | \
MPU_REGION_SU)}
◆ REGION_RAM_ATTR
◆ REGION_RO_ATTR
◆ REGION_USER_MODE_ATTR
#define REGION_USER_MODE_ATTR |
Value:
MPU_REGION_WRITE | \
MPU_REGION_SU)}
◆ REGION_USER_RO_ATTR
#define REGION_USER_RO_ATTR |
◆ SM_RW_ALLOW
◆ SM_RWX_ALLOW
◆ SM_RX_ALLOW
◆ SM_SAME_AS_UM
◆ UM_EXEC
◆ UM_READ
◆ UM_WRITE
◆ nxp_mpu_region_attr_t
◆ mpu_config