Home
last modified time | relevance | path

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

123

/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()
745 [4] = PAGE_READ, in mpu_attr_to_access()
747 [6] = PAGE_READ | PAGE_WRITE, in mpu_attr_to_access()
750 [9] = PAGE_READ | PAGE_WRITE, in mpu_attr_to_access()
751 [10] = PAGE_READ | PAGE_WRITE, in mpu_attr_to_access()
753 [12] = PAGE_READ, in mpu_attr_to_access()
755 [14] = PAGE_READ | PAGE_WRITE, in mpu_attr_to_access()
761 [10] = PAGE_READ, in mpu_attr_to_access()
763 [12] = PAGE_READ, in mpu_attr_to_access()
765 [14] = PAGE_READ | PAGE_WRITE, in mpu_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/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()
1065 *protp = PAGE_READ | PAGE_WRITE | PAGE_EXEC; in ppc_hash64_xlate()
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()
/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/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.c912 return PAGE_READ | PAGE_WRITE; in ap_to_rw_prot_is_user()
924 return PAGE_READ; in ap_to_rw_prot_is_user()
932 return PAGE_READ; in ap_to_rw_prot_is_user()
937 return PAGE_READ | PAGE_WRITE; in ap_to_rw_prot_is_user()
943 return PAGE_READ; in ap_to_rw_prot_is_user()
948 return PAGE_READ; in ap_to_rw_prot_is_user()
983 return PAGE_READ; in simple_ap_to_rw_prot_is_user()
1298 prot |= PAGE_READ; in get_S2prot_noexecute()
2253 result->f.prot = PAGE_READ; in get_phys_addr_pmsav5()
2267 result->f.prot = PAGE_READ; in get_phys_addr_pmsav5()
[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()
303 prot &= PAGE_READ | PAGE_EXEC; in hppa_get_physical_address()
309 prot &= PAGE_READ | PAGE_EXEC; in hppa_get_physical_address()
437 a_prot = PAGE_READ; in hppa_cpu_tlb_fill()
/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/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/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/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.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.h172 #define VERIFY_READ PAGE_READ
173 #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/bsd-user/
H A Dqemu.h280 #define VERIFY_READ PAGE_READ
281 #define VERIFY_WRITE (PAGE_READ | PAGE_WRITE)
/openbmc/qemu/accel/tcg/
H A Duser-exec.c202 ((prot & PAGE_READ) ? 'r' : '-'), in dump_region()
693 prot & (PAGE_READ | PAGE_EXEC) ? PROT_READ : PROT_NONE); in page_protect()
774 prot = (prot & ~PAGE_EXEC) | PAGE_READ; in page_unprotect()
796 acc_flag = PAGE_READ; in probe_access_internal()

123