Home
last modified time | relevance | path

Searched refs:PG_RW (Results 1 – 18 of 18) sorted by relevance

/freebsd/stand/kboot/kboot/arch/amd64/
H A Delf64_freebsd.c268 PT4[i] |= PG_V | PG_RW; in elf64_exec()
275 PT3[i] |= PG_V | PG_RW; in elf64_exec()
281 PT2[i] |= PG_V | PG_RW | PG_PS; in elf64_exec()
306 PT4[0] = (pml4_entry_t)PT3_l | PG_V | PG_RW; in elf64_exec()
307 PT3_l[0] = (pdp_entry_t)PT2_l0 | PG_V | PG_RW; in elf64_exec()
308 PT3_l[1] = (pdp_entry_t)PT2_l1 | PG_V | PG_RW; in elf64_exec()
309 PT3_l[2] = (pdp_entry_t)PT2_l2 | PG_V | PG_RW; in elf64_exec()
310 PT3_l[3] = (pdp_entry_t)PT2_l3 | PG_V | PG_RW; in elf64_exec()
313 PG_RW | PG_PS; in elf64_exec()
317 PT4[NPML4EPG - 1] = (pml4_entry_t)PT3_u | PG_V | PG_RW; in elf64_exec()
[all …]
/freebsd/stand/efi/loader/arch/amd64/
H A Delf64_freebsd.c144 PT4[i] |= PG_V | PG_RW; in elf64_exec()
151 PT3[i] |= PG_V | PG_RW; in elf64_exec()
157 PT2[i] |= PG_V | PG_RW | PG_PS; in elf64_exec()
183 PT4[0] = (pml4_entry_t)PT3_l | PG_V | PG_RW; in elf64_exec()
184 PT3_l[0] = (pdp_entry_t)PT2_l0 | PG_V | PG_RW; in elf64_exec()
185 PT3_l[1] = (pdp_entry_t)PT2_l1 | PG_V | PG_RW; in elf64_exec()
186 PT3_l[2] = (pdp_entry_t)PT2_l2 | PG_V | PG_RW; in elf64_exec()
187 PT3_l[3] = (pdp_entry_t)PT2_l3 | PG_V | PG_RW; in elf64_exec()
190 PG_RW | PG_PS; in elf64_exec()
194 PT4[NPML4EPG - 1] = (pml4_entry_t)PT3_u | PG_V | PG_RW; in elf64_exec()
[all …]
/freebsd/stand/efi/loader/arch/i386/
H A Delf64_freebsd.c189 PT4[i] = (uintptr_t)PT3 | PG_V | PG_RW; in elf64_exec()
195 PT3[i] = (uintptr_t)PT2 | PG_V | PG_RW; in elf64_exec()
200 PT2[i] = (i * M(2)) | PG_V | PG_RW | PG_PS; in elf64_exec()
226 PT4[0] = (uintptr_t)PT3_l | PG_V | PG_RW; in elf64_exec()
227 PT3_l[0] = (uintptr_t)PT2_l0 | PG_V | PG_RW; in elf64_exec()
228 PT3_l[1] = (uintptr_t)PT2_l1 | PG_V | PG_RW; in elf64_exec()
229 PT3_l[2] = (uintptr_t)PT2_l2 | PG_V | PG_RW; in elf64_exec()
230 PT3_l[3] = (uintptr_t)PT2_l3 | PG_V | PG_RW; in elf64_exec()
232 PT2_l0[i] = ((pd_entry_t)i * M(2)) | PG_V | PG_RW | PG_PS; in elf64_exec()
236 PT4[511] = (uintptr_t)PT3_u | PG_V | PG_RW; in elf64_exec()
[all …]
/freebsd/sys/amd64/amd64/
H A Dkexec_support.c89 root[i] = mpa | PG_RW | PG_V; in kexec_generate_page_tables()
96 pdp[j] = mpa | PG_RW | PG_V; in kexec_generate_page_tables()
104 PG_RW | PG_PS | PG_V; in kexec_generate_page_tables()
110 pde[k] = mpa | PG_V | PG_RW; in kexec_generate_page_tables()
121 pmap_kextract(pg) | PG_RW | PG_V; in kexec_generate_page_tables()
186 PT4[0] = (pml4_entry_t)pa_pdp_l | PG_V | PG_RW; in kexec_load_md()
187 PDP_l[0] = (pdp_entry_t)pa_pd_l0 | PG_V | PG_RW; in kexec_load_md()
188 PDP_l[1] = (pdp_entry_t)pa_pd_l1 | PG_V | PG_RW; in kexec_load_md()
189 PDP_l[2] = (pdp_entry_t)pa_pd_l2 | PG_V | PG_RW; in kexec_load_md()
190 PDP_l[3] = (pdp_entry_t)pa_pd_l3 | PG_V | PG_RW; in kexec_load_md()
[all …]
H A Dpmap.c3793 pt_entry_t pte, PG_RW, PG_V; in pmap_extract_and_hold() local
3797 PG_RW = pmap_rw_bit(pmap); in pmap_extract_and_hold()
3805 if ((pdpe & PG_RW) == 0 && (prot & VM_PROT_WRITE) != 0) in pmap_extract_and_hold()
3815 if ((pde & PG_RW) == 0 && (prot & VM_PROT_WRITE) != 0) in pmap_extract_and_hold()
3823 ((pte & PG_RW) == 0 && (prot & VM_PROT_WRITE) != 0)) in pmap_extract_and_hold()
4588 pt_entry_t PG_A, PG_M, PG_RW, PG_V; in pmap_allocpte_nosleep() local
4595 PG_RW = pmap_rw_bit(pmap); in pmap_allocpte_nosleep()
4616 *pml5 = VM_PAGE_TO_PHYS(m) | PG_U | PG_RW | PG_V | PG_A | PG_M; in pmap_allocpte_nosleep()
4623 *pml5u = VM_PAGE_TO_PHYS(m) | PG_U | PG_RW | PG_V | in pmap_allocpte_nosleep()
4636 *pml4 = VM_PAGE_TO_PHYS(m) | PG_U | PG_RW | PG_V | PG_A | PG_M; in pmap_allocpte_nosleep()
[all …]
H A Dxen-locore.S105 orl $(PG_V | PG_RW | PG_U), %edx
111 orl $(PG_V | PG_RW | PG_U), %edx
118 orl $(PG_V | PG_RW | PG_PS | PG_U), %edx
H A Dmachdep.c1029 *pte = pa | PG_V | PG_RW | PG_NC_PWT | PG_NC_PCD; in getmemsize()
/freebsd/sys/amd64/acpica/
H A Dacpi_wakeup.c423 pt5[0] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
429 pt4[0] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
432 pt3[0] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
434 pt3[1] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
436 pt3[2] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
438 pt3[3] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
442 pt2_0[i] |= PG_V | PG_RW | PG_PS | PG_U; in acpi_install_wakeup_handler()
446 pt2_1[i] |= PG_V | PG_RW | PG_PS | PG_U; in acpi_install_wakeup_handler()
450 pt2_2[i] |= PG_V | PG_RW | PG_PS | PG_U; in acpi_install_wakeup_handler()
454 pt2_3[i] |= PG_V | PG_RW | PG_PS | PG_U; in acpi_install_wakeup_handler()
/freebsd/sys/i386/i386/
H A Dpmap.c399 *pt = pa | PG_V | PG_RW | PG_A | PG_M; in pmap_cold_map()
470 IdlePTD[a] = (KPTphys + ptoa(a)) | PG_V | PG_RW | PG_A | PG_M; in __CONCAT()
484 PG_RW; in __CONCAT()
519 *(pt_entry_t *)vm86pa = 0 | PG_RW | PG_U | PG_A | PG_M | PG_V; in __CONCAT()
524 *pt = (ISA_HOLE_START + ptoa(a)) | PG_RW | PG_U | PG_A | in __CONCAT()
538 PG_RW | PG_V; in __CONCAT()
697 KPTD[i] = (KPTphys + ptoa(i)) | PG_RW | PG_V; in __CONCAT()
1511 *PMAP2 = newpf | PG_RW | PG_V | PG_A | PG_M; in __CONCAT()
1573 *PMAP1 = newpf | PG_RW | PG_V | PG_A | PG_M; in pmap_pte_quick()
1607 *PMAP3 = newpf | PG_RW | PG_V | PG_A | PG_M; in pmap_pte_quick3()
[all …]
H A Dvm86.c487 pcb->new_ptd = vm86pa | PG_V | PG_RW | PG_U; in vm86_initialize_pae()
551 pcb->new_ptd = vm86pa | PG_V | PG_RW | PG_U; in vm86_initialize_nopae()
739 pte_pae[entry] = page | PG_V | PG_RW | PG_U; in vm86_datacall()
748 pte_nopae[entry] = page | PG_V | PG_RW | PG_U; in vm86_datacall()
H A Dminidump_machdep_base.c287 fakept[k] = (pa + (k * PAGE_SIZE)) | PG_V | PG_RW | PG_A | PG_M; in cpu_minidumpsys()
H A Dmachdep.c1148 ptr = (int *)pmap_cmap3(pa, PG_V | PG_RW | PG_N); in getmemsize()
/freebsd/stand/i386/libi386/
H A Delf64_freebsd.c103 PT4[i] |= PG_V | PG_RW; in elf64_exec()
107 PT3[i] |= PG_V | PG_RW; in elf64_exec()
111 PT2[i] |= PG_V | PG_RW | PG_PS; in elf64_exec()
/freebsd/stand/userboot/userboot/
H A Delf64_freebsd.c119 PT4[i] |= PG_V | PG_RW; in elf64_exec()
123 PT3[i] |= PG_V | PG_RW; in elf64_exec()
127 PT2[i] |= PG_V | PG_RW | PG_PS; in elf64_exec()
/freebsd/sys/powerpc/aim/
H A Dmmu_radix.c111 #define PG_RW RPTE_EAA_W macro
1464 if ((tpte & (PG_M | PG_RW)) == (PG_M | PG_RW)) in reclaim_pv_chunk()
2304 else if ((be64toh(*pte) & (PG_M | PG_RW)) == (PG_M | PG_RW)) { in mmu_radix_advise()
2467 if ((oldl3e & PG_RW) != 0 && in mmu_radix_clear_modify()
2481 htobe64((oldpte | RPTE_EAA_R) & ~(PG_M | PG_RW)))) in mmu_radix_clear_modify()
2505 if ((be64toh(*pte) & (PG_M | PG_RW)) == (PG_M | PG_RW)) { in mmu_radix_clear_modify()
2740 if ((newpde & (PG_M | PG_RW)) == PG_RW) { in pmap_promote_l3e()
2764 if ((oldpte & (PG_M | PG_RW)) == PG_RW) { in pmap_promote_l3e()
2857 KASSERT((newpte & (PG_M | PG_RW)) != PG_M, in mmu_radix_enter()
2873 if ((newpte & PG_RW) != 0) in mmu_radix_enter()
[all …]
/freebsd/sys/i386/include/
H A Dpmap.h51 #define PG_RW 0x002 /* R/W Read/Write */ macro
71 #define PG_PROT (PG_RW|PG_U) /* all protection bits . */
83 PG_M | PG_NC_PCD | PG_NC_PWT | PG_U | PG_RW | PG_V)
/freebsd/sys/amd64/include/
H A Dpmap.h56 #define PG_RW X86_PG_RW macro
85 PG_M | PG_U | PG_RW | PG_V | PG_PKU_MASK)
105 #undef PG_RW
/freebsd/sys/amd64/vmm/
H A Dvmm_instruction_emul.c2122 (writable && (pte32 & PG_RW) == 0)) { in _vm_gla2gpa()
2212 (writable && (pte & PG_RW) == 0)) { in _vm_gla2gpa()