Home
last modified time | relevance | path

Searched refs:PAGE_EXEC (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/qemu/target/openrisc/
H A Dmmu.c34 *prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_phys_nommu()
51 if (need & PAGE_EXEC) { in get_phys_mmu()
59 match = (imr ^ addr) & TARGET_PAGE_MASK ? 0 : PAGE_EXEC; in get_phys_mmu()
63 valid = imr & 1 ? PAGE_EXEC : 0; in get_phys_mmu()
68 right = itr & (super ? SXE : UXE) ? PAGE_EXEC : 0; in get_phys_mmu()
91 return need & PAGE_EXEC ? EXCP_IPF : EXCP_DPF; in get_phys_mmu()
93 return need & PAGE_EXEC ? EXCP_ITLBMISS : EXCP_DTLBMISS; in get_phys_mmu()
122 int need = (access_type == MMU_INST_FETCH ? PAGE_EXEC in openrisc_cpu_tlb_fill()
158 PAGE_EXEC, in openrisc_cpu_get_phys_page_debug()
167 PAGE_EXEC | PAGE_READ | PAGE_WRITE, in openrisc_cpu_get_phys_page_debug()
/openbmc/qemu/target/xtensa/
H A Dmmu_helper.c579 access |= PAGE_EXEC; in mmu_attr_to_access()
746 [5] = PAGE_READ | PAGE_EXEC, in mpu_attr_to_access()
748 [7] = PAGE_READ | PAGE_WRITE | PAGE_EXEC, in mpu_attr_to_access()
752 [11] = PAGE_READ | PAGE_WRITE | PAGE_EXEC, in mpu_attr_to_access()
754 [13] = PAGE_READ | PAGE_EXEC, in mpu_attr_to_access()
756 [15] = PAGE_READ | PAGE_WRITE | PAGE_EXEC, in mpu_attr_to_access()
760 [9] = PAGE_READ | PAGE_WRITE | PAGE_EXEC, in mpu_attr_to_access()
762 [11] = PAGE_READ | PAGE_EXEC, in mpu_attr_to_access()
764 [13] = PAGE_READ | PAGE_EXEC, in mpu_attr_to_access()
794 return access & PAGE_EXEC; in is_access_granted()
[all …]
/openbmc/qemu/target/sparc/
H A Dmmu_helper.c49 PAGE_READ | PAGE_EXEC,
50 PAGE_READ | PAGE_WRITE | PAGE_EXEC,
51 PAGE_EXEC,
53 PAGE_READ | PAGE_EXEC,
54 PAGE_READ | PAGE_WRITE | PAGE_EXEC
59 PAGE_READ | PAGE_EXEC,
60 PAGE_READ | PAGE_WRITE | PAGE_EXEC,
61 PAGE_EXEC,
87 full->prot = PAGE_READ | PAGE_EXEC; in get_physical_address()
91 full->prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
[all …]
/openbmc/qemu/include/exec/
H A Dpage-protection.h14 #define PAGE_EXEC 0x0004 macro
15 #define PAGE_RWX (PAGE_READ | PAGE_WRITE | PAGE_EXEC)
/openbmc/qemu/target/hppa/
H A Dmem_helper.c163 ? PAGE_EXEC | PAGE_READ in match_prot_id_1()
164 : PAGE_EXEC | PAGE_READ | PAGE_WRITE); in match_prot_id_1()
223 prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in hppa_get_physical_address()
232 ret = (type == PAGE_EXEC) ? EXCP_ITLB_MISS : EXCP_DTLB_MISS; in hppa_get_physical_address()
277 ret = type & PAGE_EXEC ? EXCP_IMP : EXCP_DMPI; in hppa_get_physical_address()
286 ret = (type & PAGE_EXEC) ? EXCP_IMP : EXCP_DMAR; in hppa_get_physical_address()
297 prot &= PAGE_EXEC; in hppa_get_physical_address()
298 if (!(type & PAGE_EXEC)) { in hppa_get_physical_address()
303 prot &= PAGE_READ | PAGE_EXEC; in hppa_get_physical_address()
309 prot &= PAGE_READ | PAGE_EXEC; in hppa_get_physical_address()
[all …]
/openbmc/qemu/target/s390x/
H A Dmmu_helper.c240 *flags &= ~PAGE_EXEC; in mmu_translate_asce()
270 *flags &= ~PAGE_EXEC; in mmu_translate_asce()
293 *flags &= ~PAGE_EXEC; in mmu_translate_asce()
393 *flags = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in mmu_translate()
449 if (unlikely(rw == MMU_INST_FETCH && !(*flags & PAGE_EXEC))) { in mmu_translate()
583 *flags = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in mmu_translate_real()
/openbmc/qemu/target/ppc/
H A Dmmu-hash64.c394 PAGE_READ | PAGE_WRITE : PAGE_READ | PAGE_WRITE | PAGE_EXEC; in ppc_hash64_pte_noexec_guard()
417 prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in ppc_hash64_pte_prot()
422 prot = PAGE_READ | PAGE_EXEC; in ppc_hash64_pte_prot()
433 prot = PAGE_READ | PAGE_EXEC; in ppc_hash64_pte_prot()
437 prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in ppc_hash64_pte_prot()
459 PAGE_READ | PAGE_WRITE | PAGE_EXEC; in ppc_hash64_iamr_prot()
466 int prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in ppc_hash64_amr_prot()
1065 *protp = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in ppc_hash64_xlate()
1151 if (PAGE_EXEC & ~exec_prot) { in ppc_hash64_xlate()
1153 } else if (PAGE_EXEC & ~pp_prot) { in ppc_hash64_xlate()
[all …]
H A Dmmu-hash32.h147 return nx ? prot : prot | PAGE_EXEC; in ppc_hash32_prot()
156 prot = PAGE_READ | PAGE_EXEC; in ppc_hash32_bat_prot()
H A Dmmu-radix64.c219 (pte & R_PTE_EAA_X ? PAGE_EXEC : 0); in ppc_radix64_get_prot_eaa()
230 (iamr & 0x1 ? 0 : PAGE_EXEC); in ppc_radix64_get_prot_amr()
705 *protp = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in ppc_radix64_xlate_impl()
755 *protp = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in ppc_radix64_xlate_impl()
821 *protp & PAGE_EXEC ? 'x' : '-', in ppc_radix64_xlate()
H A Dmmu_helper.c713 if (tlb->prot & PAGE_EXEC) { in helper_4xx_tlbre_lo()
788 tlb->prot & PAGE_EXEC ? 'x' : '-', in helper_4xx_tlbwe_hi()
813 tlb->prot |= PAGE_EXEC; in helper_4xx_tlbwe_lo()
824 tlb->prot & PAGE_EXEC ? 'x' : '-', in helper_4xx_tlbwe_lo()
899 tlb->prot |= PAGE_EXEC << 4; in helper_440_tlbwe()
908 tlb->prot |= PAGE_EXEC; in helper_440_tlbwe()
953 if (tlb->prot & (PAGE_EXEC << 4)) { in helper_440_tlbre()
962 if (tlb->prot & PAGE_EXEC) { in helper_440_tlbre()
H A Dmmu-booke.c368 *prot |= PAGE_EXEC; in mmubooke206_check_tlb()
378 *prot |= PAGE_EXEC; in mmubooke206_check_tlb()
/openbmc/qemu/target/alpha/
H A Dhelper.c180 prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
205 prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
258 #if PAGE_READ != 1 || PAGE_WRITE != 2 || PAGE_EXEC != 4 in get_physical_address()
264 prot |= PAGE_READ | PAGE_EXEC; in get_physical_address()
277 ret = (prot_need & PAGE_EXEC ? MM_K_FOE : in get_physical_address()
/openbmc/qemu/target/loongarch/
H A Dcpu_helper.c79 *prot |= PAGE_EXEC; in loongarch_map_tlb_entry()
193 *prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
212 *prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
/openbmc/qemu/target/arm/
H A Dptw.c1254 result->f.prot |= PAGE_EXEC; in get_phys_addr_v6()
1313 prot |= PAGE_EXEC; in get_S2prot()
1317 prot |= PAGE_EXEC; in get_S2prot()
1324 prot |= PAGE_EXEC; in get_S2prot()
1333 prot |= PAGE_EXEC; in get_S2prot()
1461 return prot_rw | PAGE_EXEC; in get_S1prot()
2278 result->f.prot |= PAGE_EXEC; in get_phys_addr_pmsav5()
2291 *prot |= PAGE_EXEC; in get_phys_addr_pmsav7_default()
2295 *prot |= PAGE_EXEC; in get_phys_addr_pmsav7_default()
2545 result->f.prot &= ~PAGE_EXEC; in get_phys_addr_pmsav7()
[all …]
/openbmc/qemu/accel/tcg/
H A Duser-exec.c204 ((prot & PAGE_EXEC) ? 'x' : '-')); in dump_region()
264 if (p->flags & PAGE_EXEC) { in pageflags_unset()
376 if ((p_flags & PAGE_EXEC) in pageflags_set_clear()
377 && (!(merge_flags & PAGE_EXEC) in pageflags_set_clear()
693 prot & (PAGE_READ | PAGE_EXEC) ? PROT_READ : PROT_NONE); in page_protect()
773 if (prot & PAGE_EXEC) { in page_unprotect()
774 prot = (prot & ~PAGE_EXEC) | PAGE_READ; in page_unprotect()
799 acc_flag = PAGE_EXEC; in probe_access_internal()
/openbmc/linux/arch/hexagon/include/asm/
H A Dpgtable.h114 #define PAGE_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \ macro
116 #define PAGE_COPY_EXEC PAGE_EXEC
/openbmc/qemu/target/tricore/
H A Dhelper.c42 *prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
86 physical & TARGET_PAGE_MASK, prot | PAGE_EXEC, in tricore_cpu_tlb_fill()
/openbmc/qemu/target/i386/tcg/sysemu/
H A Dexcp_helper.c358 prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in mmu_translate()
385 prot |= PAGE_EXEC; in mmu_translate()
397 uint32_t pkr_prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in mmu_translate()
604 out->prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
/openbmc/qemu/hw/ppc/
H A Dppc440_bamboo.c121 tlb->prot = PAGE_VALID | ((PAGE_READ | PAGE_WRITE | PAGE_EXEC) << 4); in mmubooke_create_initial_mapping()
129 tlb->prot = PAGE_VALID | ((PAGE_READ | PAGE_WRITE | PAGE_EXEC) << 4); in mmubooke_create_initial_mapping()
H A Dvirtex_ml507.c78 tlb->prot = PAGE_VALID | ((PAGE_READ | PAGE_WRITE | PAGE_EXEC) << 4); in mmubooke_create_initial_mapping()
86 tlb->prot = PAGE_VALID | ((PAGE_READ | PAGE_WRITE | PAGE_EXEC) << 4); in mmubooke_create_initial_mapping()
H A Dsam460ex.c226 tlb->prot = PAGE_VALID | ((PAGE_READ | PAGE_WRITE | PAGE_EXEC) << 4); in mmubooke_create_initial_mapping_uboot()
241 tlb->prot = PAGE_VALID | ((PAGE_READ | PAGE_WRITE | PAGE_EXEC) << 4); in mmubooke_create_initial_mapping()
/openbmc/qemu/target/sh4/
H A Dhelper.c343 *prot = PAGE_EXEC; in get_mmu_address()
353 *prot = PAGE_READ | PAGE_EXEC; in get_mmu_address()
418 *prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
425 *prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
/openbmc/qemu/target/mips/sysemu/
H A Dphysaddr.c97 *prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_seg_physical_address()
/openbmc/qemu/target/rx/
H A Dcpu.c165 prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in rx_cpu_tlb_fill()
/openbmc/qemu/target/avr/
H A Dhelper.c119 prot = PAGE_READ | PAGE_EXEC; in avr_cpu_tlb_fill()

12