Home
last modified time | relevance | path

Searched refs:ARCH_MMU_FLAG_PERM_RO (Results 1 – 8 of 8) sorted by relevance

/lk-master/arch/arm/arm/
A Dmmu.c60 switch (flags & (ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO)) { in mmu_flags_to_l1_arch_flags()
64 case ARCH_MMU_FLAG_PERM_RO: in mmu_flags_to_l1_arch_flags()
70 case ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO: in mmu_flags_to_l1_arch_flags()
111 switch (flags & (ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO)) { in mmu_flags_to_l2_arch_flags_small_page()
115 case ARCH_MMU_FLAG_PERM_RO: in mmu_flags_to_l2_arch_flags_small_page()
121 case ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO: in mmu_flags_to_l2_arch_flags_small_page()
278 *flags |= ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()
283 *flags |= ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()
329 *flags |= ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()
334 *flags |= ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()
/lk-master/arch/include/arch/
A Dmmu.h27 #define ARCH_MMU_FLAG_PERM_RO (1<<3) macro
/lk-master/arch/arm64/
A Dmmu.c57 switch (flags & (ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO)) { in mmu_flags_to_pte_attr()
61 case ARCH_MMU_FLAG_PERM_RO: in mmu_flags_to_pte_attr()
67 case ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO: in mmu_flags_to_pte_attr()
176 *flags |= ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()
179 *flags |= ARCH_MMU_FLAG_PERM_USER | ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()
/lk-master/platform/pc/
A Dplatform.c67 access = ARCH_MMU_FLAG_PERM_RO; in platform_init_mmu_mappings()
84 access = ARCH_MMU_FLAG_PERM_RO; in platform_init_mmu_mappings()
/lk-master/arch/or1k/
A Dmmu.c97 *flags |= ARCH_MMU_FLAG_PERM_RO; in arch_mmu_query()
150 if (!(flags & ARCH_MMU_FLAG_PERM_RO)) in arch_mmu_map()
/lk-master/arch/riscv/
A Dmmu.cpp179 pte |= (flags & ARCH_MMU_FLAG_PERM_RO) ? RISCV_PTE_R : (RISCV_PTE_R | RISCV_PTE_W); in mmu_flags_to_pte()
188 f |= ARCH_MMU_FLAG_PERM_RO; in pte_flags_to_mmu_flags()
/lk-master/arch/x86/32/
A Dmmu.c96 if (!(flags & ARCH_MMU_FLAG_PERM_RO)) in get_x86_arch_flags()
119 mmu_flags |= ARCH_MMU_FLAG_PERM_RO; in get_arch_mmu_flags()
/lk-master/arch/x86/64/
A Dmmu.c147 if (!(flags & ARCH_MMU_FLAG_PERM_RO)) in get_x86_arch_flags()
169 mmu_flags |= ARCH_MMU_FLAG_PERM_RO; in get_arch_mmu_flags()

Completed in 16 milliseconds