#include <stdint.h>
#include <stdlib.h>
Go to the source code of this file.
◆ ARCH_DATA_PAGE_ACCESSED
#define ARCH_DATA_PAGE_ACCESSED BIT(1) |
◆ ARCH_DATA_PAGE_DIRTY
#define ARCH_DATA_PAGE_DIRTY BIT(2) |
◆ ARCH_DATA_PAGE_LOADED
#define ARCH_DATA_PAGE_LOADED BIT(0) |
◆ ARCH_DATA_PAGE_NOT_MAPPED
#define ARCH_DATA_PAGE_NOT_MAPPED BIT(3) |
◆ ARCH_UNPAGED_ANON_UNINIT
#define ARCH_UNPAGED_ANON_UNINIT 0x0000ffffffffe000 |
◆ ARCH_UNPAGED_ANON_ZERO
#define ARCH_UNPAGED_ANON_ZERO 0x0000fffffffff000 |
◆ K_MEM_PARTITION_P_RO_U_NA
#define K_MEM_PARTITION_P_RO_U_NA |
Value:
#define MT_P_RO_U_NA
Definition arm_mmu.h:85
uint32_t k_mem_partition_attr_t
Definition arch.h:346
◆ K_MEM_PARTITION_P_RO_U_RO
#define K_MEM_PARTITION_P_RO_U_RO |
Value:
#define MT_P_RO_U_RO
Definition arm_mmu.h:84
◆ K_MEM_PARTITION_P_RW_U_NA
#define K_MEM_PARTITION_P_RW_U_NA |
Value:
#define MT_P_RW_U_NA
Definition arm_mmu.h:83
◆ K_MEM_PARTITION_P_RW_U_RW
#define K_MEM_PARTITION_P_RW_U_RW |
Value:
#define MT_P_RW_U_RW
Definition arm_mmu.h:82
◆ K_MEM_PARTITION_P_RX_U_RX
#define K_MEM_PARTITION_P_RX_U_RX |
Value:
#define MT_P_RX_U_RX
Definition arm_mmu.h:87
◆ MEMORY_ATTRIBUTES
#define MEMORY_ATTRIBUTES |
Value:
#define MT_NORMAL_NC
Definition arm_mmu.h:25
#define MT_DEVICE_nGnRnE
Definition arm_mmu.h:22
#define MT_NORMAL
Definition arm_mmu.h:26
#define MT_NORMAL_WT
Definition arm_mmu.h:27
#define MT_DEVICE_GRE
Definition arm_mmu.h:24
#define MT_DEVICE_nGnRE
Definition arm_mmu.h:23
◆ MMU_REGION_DT_COMPAT_FOREACH_FLAT_ENTRY
#define MMU_REGION_DT_COMPAT_FOREACH_FLAT_ENTRY |
( |
| compat, |
|
|
| attr ) |
Value:
#define DT_FOREACH_STATUS_OKAY_VARGS(compat, fn,...)
Invokes fn for each status okay node of a compatible with multiple arguments.
Definition devicetree.h:3251
#define MMU_REGION_DT_FLAT_ENTRY(node_id, attrs)
Definition arm_mmu.h:86
◆ MMU_REGION_DT_FLAT_ENTRY
#define MMU_REGION_DT_FLAT_ENTRY |
( |
| node_id, |
|
|
| attrs ) |
Value:
attrs),
#define DT_NODE_FULL_NAME(node_id)
Get a devicetree node's name with unit-address as a string literal.
Definition devicetree.h:524
#define DT_REG_ADDR(node_id)
Get a node's (only) register block address.
Definition devicetree.h:2276
#define DT_REG_SIZE(node_id)
Get a node's (only) register block size.
Definition devicetree.h:2297
#define MMU_REGION_FLAT_ENTRY(name, adr, sz, attrs)
Definition arm_mmu.h:67
◆ MMU_REGION_ENTRY
#define MMU_REGION_ENTRY |
( |
| _name, |
|
|
| _base_pa, |
|
|
| _base_va, |
|
|
| _size, |
|
|
| _attrs ) |
Value: {\
.name = _name, \
.base_pa = _base_pa, \
.base_va = _base_va, \
.size = _size, \
.attrs = _attrs, \
}
◆ MMU_REGION_FLAT_ENTRY
#define MMU_REGION_FLAT_ENTRY |
( |
| name, |
|
|
| adr, |
|
|
| sz, |
|
|
| attrs ) |
Value:
#define MMU_REGION_ENTRY(_name, _base_pa, _base_va, _size, _attrs)
Definition arm_mmu.h:58
◆ MT_DEFAULT_SECURE_STATE
◆ MT_DEVICE_GRE
◆ MT_DEVICE_nGnRE
#define MT_DEVICE_nGnRE 1U |
◆ MT_DEVICE_nGnRnE
#define MT_DEVICE_nGnRnE 0U |
◆ MT_G
◆ MT_NG
◆ MT_NO_OVERWRITE
◆ MT_NO_OVERWRITE_SHIFT
#define MT_NO_OVERWRITE_SHIFT 8U |
◆ MT_NON_GLOBAL_SHIFT
#define MT_NON_GLOBAL_SHIFT 9U |
◆ MT_NORMAL
◆ MT_NORMAL_NC
◆ MT_NORMAL_WT
◆ MT_NS
◆ MT_P_EXECUTE
◆ MT_P_EXECUTE_NEVER
◆ MT_P_EXECUTE_SHIFT
#define MT_P_EXECUTE_SHIFT 5U |
◆ MT_P_RO_U_NA
◆ MT_P_RO_U_RO
◆ MT_P_RO_U_RX
◆ MT_P_RW_U_NA
◆ MT_P_RW_U_RW
◆ MT_P_RX_U_NA
◆ MT_P_RX_U_RX
◆ MT_PAGED_OUT
◆ MT_PAGED_OUT_SHIFT
#define MT_PAGED_OUT_SHIFT 10U |
◆ MT_PERM_SHIFT
◆ MT_RO
◆ MT_RW
◆ MT_RW_AP_EL_HIGHER
◆ MT_RW_AP_ELx
◆ MT_RW_AP_SHIFT
#define MT_RW_AP_SHIFT 7U |
◆ MT_SEC_SHIFT
◆ MT_SECURE
◆ MT_TYPE
Value:
#define MT_TYPE_MASK
Definition arm_mmu.h:20
◆ MT_TYPE_MASK
#define MT_TYPE_MASK 0x7U |
◆ MT_U_EXECUTE
◆ MT_U_EXECUTE_NEVER
◆ MT_U_EXECUTE_SHIFT
#define MT_U_EXECUTE_SHIFT 6U |
◆ mmu_config