Home
last modified time | relevance | path

Searched refs:PAGE_READ (Results 1 – 25 of 49) sorted by relevance

12

/openbmc/linux/arch/csky/mm/
H A Dinit.c203 [VM_READ] = PAGE_READ,
204 [VM_WRITE] = PAGE_READ,
205 [VM_WRITE | VM_READ] = PAGE_READ,
206 [VM_EXEC] = PAGE_READ,
207 [VM_EXEC | VM_READ] = PAGE_READ,
208 [VM_EXEC | VM_WRITE] = PAGE_READ,
209 [VM_EXEC | VM_WRITE | VM_READ] = PAGE_READ,
211 [VM_SHARED | VM_READ] = PAGE_READ,
214 [VM_SHARED | VM_EXEC] = PAGE_READ,
215 [VM_SHARED | VM_EXEC | VM_READ] = PAGE_READ,
/openbmc/qemu/target/xtensa/
H A Dmmu_helper.c577 access |= PAGE_READ; in mmu_attr_to_access()
599 access |= PAGE_READ | PAGE_WRITE | PAGE_CACHE_ISOLATE; in mmu_attr_to_access()
611 [0] = PAGE_READ | PAGE_WRITE | PAGE_CACHE_WT, in region_attr_to_access()
612 [1] = PAGE_READ | PAGE_WRITE | PAGE_EXEC | PAGE_CACHE_WT, in region_attr_to_access()
613 [2] = PAGE_READ | PAGE_WRITE | PAGE_EXEC | PAGE_CACHE_BYPASS, in region_attr_to_access()
615 [4] = PAGE_READ | PAGE_WRITE | PAGE_EXEC | PAGE_CACHE_WB, in region_attr_to_access()
616 [5] = PAGE_READ | PAGE_WRITE | PAGE_EXEC | PAGE_CACHE_WB, in region_attr_to_access()
617 [14] = PAGE_READ | PAGE_WRITE | PAGE_CACHE_ISOLATE, in region_attr_to_access()
630 [0] = PAGE_READ | PAGE_WRITE | PAGE_CACHE_WT, in cacheattr_attr_to_access()
631 [1] = PAGE_READ | PAGE_WRITE | PAGE_EXEC | PAGE_CACHE_WT, in cacheattr_attr_to_access()
[all …]
H A Dop_helper.c92 (access & (PAGE_READ | PAGE_WRITE)) != (PAGE_READ | PAGE_WRITE)) { in HELPER()
/openbmc/qemu/target/openrisc/
H A Dmmu.c34 *prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_phys_nommu()
60 match |= (dmr ^ addr) & TARGET_PAGE_MASK ? 0 : PAGE_READ | PAGE_WRITE; in get_phys_mmu()
64 valid |= dmr & 1 ? PAGE_READ | PAGE_WRITE : 0; in get_phys_mmu()
69 right |= dtr & (super ? SRE : URE) ? PAGE_READ : 0; in get_phys_mmu()
124 : PAGE_READ); in openrisc_cpu_tlb_fill()
152 PAGE_READ, in openrisc_cpu_get_phys_page_debug()
167 PAGE_EXEC | PAGE_READ | PAGE_WRITE, in openrisc_cpu_get_phys_page_debug()
/openbmc/qemu/target/sparc/
H A Dmmu_helper.c47 PAGE_READ,
48 PAGE_READ | PAGE_WRITE,
49 PAGE_READ | PAGE_EXEC,
50 PAGE_READ | PAGE_WRITE | PAGE_EXEC,
52 PAGE_READ | PAGE_WRITE,
53 PAGE_READ | PAGE_EXEC,
54 PAGE_READ | PAGE_WRITE | PAGE_EXEC
57 PAGE_READ,
58 PAGE_READ | PAGE_WRITE,
59 PAGE_READ | PAGE_EXEC,
[all …]
/openbmc/qemu/target/ppc/
H A Dmmu-hash32.h125 prot = PAGE_READ; in ppc_hash32_prot()
128 prot = PAGE_READ | PAGE_WRITE; in ppc_hash32_prot()
138 prot = PAGE_READ | PAGE_WRITE; in ppc_hash32_prot()
141 prot = PAGE_READ; in ppc_hash32_prot()
156 prot = PAGE_READ | PAGE_EXEC; in ppc_hash32_bat_prot()
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()
458 return (iamr_bits & 0x1) ? PAGE_READ | PAGE_WRITE : in ppc_hash64_iamr_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()
491 prot &= ~PAGE_READ; in ppc_hash64_amr_prot()
1067 *protp = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in ppc_hash64_xlate()
[all …]
H A Dmmu-radix64.c217 return (pte & R_PTE_EAA_R ? PAGE_READ : 0) | in ppc_radix64_get_prot_eaa()
218 (pte & R_PTE_EAA_RW ? PAGE_READ | PAGE_WRITE : 0) | in ppc_radix64_get_prot_eaa()
229 (amr & 0x1 ? 0 : PAGE_READ) | 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()
819 *protp & PAGE_READ ? 'r' : '-', in ppc_radix64_xlate()
H A Dmmu-hash32.c182 *prot = PAGE_READ | PAGE_WRITE; in ppc_hash32_direct_store()
184 *prot = PAGE_READ; in ppc_hash32_direct_store()
313 *protp = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in ppc_hash32_xlate()
H A Dmmu_helper.c786 tlb->prot & PAGE_READ ? 'r' : '-', in helper_4xx_tlbwe_hi()
811 tlb->prot = PAGE_READ; in helper_4xx_tlbwe_lo()
822 tlb->prot & PAGE_READ ? 'r' : '-', in helper_4xx_tlbwe_lo()
893 tlb->prot |= PAGE_READ << 4; in helper_440_tlbwe()
902 tlb->prot |= PAGE_READ; in helper_440_tlbwe()
947 if (tlb->prot & (PAGE_READ << 4)) { in helper_440_tlbre()
956 if (tlb->prot & PAGE_READ) { in helper_440_tlbre()
H A Dmmu-booke.c362 *prot |= PAGE_READ; in mmubooke206_check_tlb()
372 *prot |= PAGE_READ; in mmubooke206_check_tlb()
/openbmc/qemu/include/exec/
H A Dpage-protection.h12 #define PAGE_READ 0x0001 macro
15 #define PAGE_RWX (PAGE_READ | PAGE_WRITE | PAGE_EXEC)
/openbmc/qemu/target/arm/
H A Dptw.c931 return PAGE_READ | PAGE_WRITE; in ap_to_rw_prot_is_user()
941 return is_user ? 0 : PAGE_READ; in ap_to_rw_prot_is_user()
943 return PAGE_READ; in ap_to_rw_prot_is_user()
948 return is_user ? 0 : PAGE_READ | PAGE_WRITE; in ap_to_rw_prot_is_user()
951 return PAGE_READ; in ap_to_rw_prot_is_user()
953 return PAGE_READ | PAGE_WRITE; in ap_to_rw_prot_is_user()
956 return PAGE_READ | PAGE_WRITE; in ap_to_rw_prot_is_user()
960 return is_user ? 0 : PAGE_READ; in ap_to_rw_prot_is_user()
962 return PAGE_READ; in ap_to_rw_prot_is_user()
967 return PAGE_READ; in ap_to_rw_prot_is_user()
[all …]
/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()
279 prot_need & PAGE_READ ? MM_K_FOR : -1); in get_physical_address()
/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()
241 r_prot = (priv <= ent->ar_pl1) * PAGE_READ; in hppa_get_physical_address()
304 prot &= PAGE_READ | PAGE_EXEC; in hppa_get_physical_address()
311 prot &= PAGE_READ | PAGE_EXEC; in hppa_get_physical_address()
443 a_prot = PAGE_READ; in hppa_cpu_tlb_fill_align()
/openbmc/qemu/target/i386/tcg/sysemu/
H A Dexcp_helper.c358 prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in mmu_translate()
377 prot |= PAGE_READ; in mmu_translate()
397 uint32_t pkr_prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in mmu_translate()
400 pkr_prot &= ~(PAGE_READ | PAGE_WRITE); in mmu_translate()
604 out->prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
/openbmc/qemu/target/loongarch/
H A Dcpu_helper.c74 *prot = PAGE_READ; 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/avr/
H A Dhelper.c119 prot = PAGE_READ | PAGE_EXEC; in avr_cpu_tlb_fill()
135 prot = PAGE_READ | PAGE_WRITE; in avr_cpu_tlb_fill()
/openbmc/qemu/target/sh4/
H A Dhelper.c353 *prot = PAGE_READ | PAGE_EXEC; in get_mmu_address()
376 *prot = PAGE_READ; 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/linux-user/
H A Dqemu.h175 #define VERIFY_READ PAGE_READ
176 #define VERIFY_WRITE (PAGE_READ | PAGE_WRITE)
/openbmc/qemu/target/s390x/
H A Dmmu_helper.c393 *flags = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in mmu_translate()
583 *flags = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in mmu_translate_real()
/openbmc/qemu/target/riscv/
H A Dcpu_helper.c844 *prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address_pmp()
917 *ret_prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
967 *ret_prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_physical_address()
1144 prot |= PAGE_READ; in get_physical_address()
1174 prot |= PAGE_READ; in get_physical_address()
1185 prot &= PAGE_READ | PAGE_WRITE; in get_physical_address()
/openbmc/qemu/accel/tcg/
H A Duser-exec.c202 ((prot & PAGE_READ) ? 'r' : '-'), in dump_region()
688 prot & (PAGE_READ | PAGE_EXEC) ? PROT_READ : PROT_NONE); in page_protect()
769 prot = (prot & ~PAGE_EXEC) | PAGE_READ; in page_unprotect()
791 acc_flag = PAGE_READ; in probe_access_internal()
/openbmc/qemu/bsd-user/
H A Dqemu.h280 #define VERIFY_READ PAGE_READ
281 #define VERIFY_WRITE (PAGE_READ | PAGE_WRITE)
/openbmc/qemu/target/mips/sysemu/
H A Dphysaddr.c97 *prot = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in get_seg_physical_address()

12