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:67
#define MPU_REGION_EXEC
Definition nxp_mpu.h:56
◆ 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:50
#define MPU_REGION_SU_RW
Definition nxp_mpu.h:72
◆ K_MEM_PARTITION_P_NA_U_NA
#define K_MEM_PARTITION_P_NA_U_NA |
Value:
#define MPU_REGION_SU
Definition nxp_mpu.h:62
Definition arm_mpu_v7m.h:160
◆ 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:44
◆ 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:77
◆ 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:21
#define BM2_UM_SHIFT
Definition nxp_mpu.h:20
#define BM0_UM_SHIFT
Definition nxp_mpu.h:18
#define BM1_UM_SHIFT
Definition nxp_mpu.h:19
#define UM_EXEC
Definition nxp_mpu.h:16
◆ MPU_REGION_READ
Value:
#define UM_READ
Definition nxp_mpu.h:14
◆ MPU_REGION_SU
Value:
#define BM2_SM_SHIFT
Definition nxp_mpu.h:31
#define BM0_SM_SHIFT
Definition nxp_mpu.h:29
#define SM_SAME_AS_UM
Definition nxp_mpu.h:27
#define BM1_SM_SHIFT
Definition nxp_mpu.h:30
#define BM3_SM_SHIFT
Definition nxp_mpu.h:32
◆ MPU_REGION_SU_RW
Value:
#define SM_RW_ALLOW
Definition nxp_mpu.h:26
◆ MPU_REGION_SU_RWX
#define MPU_REGION_SU_RWX |
Value:
#define SM_RWX_ALLOW
Definition nxp_mpu.h:24
◆ MPU_REGION_SU_RX
Value:
#define SM_RX_ALLOW
Definition nxp_mpu.h:25
◆ MPU_REGION_WRITE
Value:
#define UM_WRITE
Definition nxp_mpu.h:15
◆ 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:40
◆ REGION_FLASH_ATTR
#define REGION_FLASH_ATTR |
◆ REGION_IO_ATTR
◆ REGION_RAM_ATTR
◆ REGION_RO_ATTR
◆ REGION_USER_MODE_ATTR
#define REGION_USER_MODE_ATTR |
◆ 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