Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/i386/i386/
HDlocore.s715 fillkptphys($PG_RW)
720 fillkptphys($PG_RW)
726 fillkptphys($PG_RW)
731 fillkptphys($PG_RW)
736 fillkptphys($PG_RW)
741 fillkptphys($PG_RW)
746 fillkptphys($PG_RW)
752 fillkpt(R(vm86pa), $PG_RW|PG_U)
758 fillkpt(R(vm86pa), $PG_RW|PG_U)
776 fillkpt(R(IdlePTD), $PG_RW)
[all …]
HDpmap.c491 KPTD[i] = (KPTphys + (i << PAGE_SHIFT)) | pgeflag | PG_RW | PG_V; in pmap_bootstrap()
1421 *PMAP2 = newpf | PG_RW | PG_V | PG_A | PG_M; in pmap_pte()
1482 *PMAP1 = newpf | PG_RW | PG_V | PG_A | PG_M; in pmap_pte_quick()
1553 if ((pde & PG_RW) || (prot & VM_PROT_WRITE) == 0) { in pmap_extract_and_hold()
1564 ((pte & PG_RW) || (prot & VM_PROT_WRITE) == 0)) { in pmap_extract_and_hold()
1595 pte_store(pte, pa | PG_RW | PG_V | pgeflag); in pmap_kenter()
1604 pte_store(pte, pa | PG_RW | PG_V | pgeflag | pmap_cache_bits(mode, 0)); in pmap_kenter_attr()
1663 newpde = start | PG_PS | pgeflag | PG_RW | PG_V; in pmap_map()
1702 pte_store(pte, pa | pgeflag | PG_RW | PG_V); in pmap_qenter()
1935 pmap->pm_pdir[PTDPTDI + i] = pa | PG_V | PG_RW | PG_A | PG_M; in pmap_pinit()
[all …]
HDdb_interface.c93 *ptep0 |= PG_RW; in db_write_bytes()
104 *ptep1 |= PG_RW; in db_write_bytes()
111 *ptep1 |= PG_RW; in db_write_bytes()
HDbios.c403 *pte = (vm86pa - PAGE_SIZE) | PG_RW | PG_V; in bios16()
404 *ptd = vtophys(pte) | PG_RW | PG_V; in bios16()
410 *pte = (vm86pa - PAGE_SIZE) | PG_RW | PG_V; in bios16()
HDvm86.c431 pcb->new_ptd = vm86pa | PG_V | PG_RW | PG_U; in vm86_initialize()
599 pte[entry] = page | PG_V | PG_RW | PG_U; in vm86_datacall()
HDminidump_machdep.c305 fakept[k] = (pa + (k * PAGE_SIZE)) | PG_V | PG_RW | PG_A | PG_M; in minidumpsys()
HDvm_machdep.c589 *ptep = VM_PAGE_TO_PHYS(sf->m) | pgeflag | PG_RW | PG_V | in sf_buf_map()
HDmachdep.c1774 pte[i] = (i << PAGE_SHIFT) | PG_V | PG_RW | PG_U; in basemem_setup()
1944 *pte = pa | PG_V | PG_RW | pg_n; in getmemsize()
2328 *pte = pa | PG_V | PG_RW | PG_N; in getmemsize()
/freebsd-11-stable/stand/i386/libi386/
HDelf64_freebsd.c50 #define PG_RW 0x002 macro
99 PT4[i] |= PG_V | PG_RW | PG_U; in elf64_exec()
103 PT3[i] |= PG_V | PG_RW | PG_U; in elf64_exec()
107 PT2[i] |= PG_V | PG_RW | PG_PS | PG_U; in elf64_exec()
/freebsd-11-stable/sys/amd64/amd64/
HDpmap.c2297 pt_entry_t pte, PG_RW, PG_V; in pmap_extract_and_hold() local
2303 PG_RW = pmap_rw_bit(pmap); in pmap_extract_and_hold()
2310 if ((pde & PG_RW) || (prot & VM_PROT_WRITE) == 0) { in pmap_extract_and_hold()
2319 ((pte & PG_RW) || (prot & VM_PROT_WRITE) == 0)) { in pmap_extract_and_hold()
2785 pt_entry_t PG_A, PG_M, PG_RW, PG_V; in _pmap_allocpte() local
2792 PG_RW = pmap_rw_bit(pmap); in _pmap_allocpte()
2828 *pml4 = VM_PAGE_TO_PHYS(m) | PG_U | PG_RW | PG_V | PG_A | PG_M; in _pmap_allocpte()
2841 *pml4u = VM_PAGE_TO_PHYS(m) | PG_U | PG_RW | PG_V | in _pmap_allocpte()
2874 *pdp = VM_PAGE_TO_PHYS(m) | PG_U | PG_RW | PG_V | PG_A | PG_M; in _pmap_allocpte()
2923 *pd = VM_PAGE_TO_PHYS(m) | PG_U | PG_RW | PG_V | PG_A | PG_M; in _pmap_allocpte()
[all …]
HDdb_interface.c93 *ptep0 |= PG_RW; in db_write_bytes()
104 *ptep1 |= PG_RW; in db_write_bytes()
111 *ptep1 |= PG_RW; in db_write_bytes()
HDmp_machdep.c350 pt4[i] |= PG_V | PG_RW | PG_U; in native_start_all_aps()
354 pt3[i] |= PG_V | PG_RW | PG_U; in native_start_all_aps()
358 pt2[i] |= PG_V | PG_RW | PG_PS | PG_U; in native_start_all_aps()
HDmachdep.c1401 *pte = pa | PG_V | PG_RW | PG_NC_PWT | PG_NC_PCD; in getmemsize()
/freebsd-11-stable/stand/userboot/userboot/
HDelf64_freebsd.c62 #define PG_RW 0x002 macro
130 PT4[i] |= PG_V | PG_RW | PG_U; in elf64_exec()
134 PT3[i] |= PG_V | PG_RW | PG_U; in elf64_exec()
138 PT2[i] |= PG_V | PG_RW | PG_PS | PG_U; in elf64_exec()
/freebsd-11-stable/stand/efi/loader/arch/amd64/
HDelf64_freebsd.c175 PT4[i] |= PG_V | PG_RW | PG_U; in elf64_exec()
179 PT3[i] |= PG_V | PG_RW | PG_U; in elf64_exec()
183 PT2[i] |= PG_V | PG_RW | PG_PS | PG_U; in elf64_exec()
/freebsd-11-stable/sys/x86/xen/
HDpv.c181 PT4[i] |= PG_V | PG_RW | PG_U; in hammer_time_xen()
188 PT3[i] |= PG_V | PG_RW | PG_U; in hammer_time_xen()
195 PT2[i] |= PG_V | PG_RW | PG_PS | PG_U; in hammer_time_xen()
/freebsd-11-stable/sys/i386/include/
HDpmap.h53 #define PG_RW 0x002 /* R/W Read/Write */ macro
82 #define PG_PROT (PG_RW|PG_U) /* all protection bits . */
94 PG_M | PG_A | PG_NC_PCD | PG_NC_PWT | PG_U | PG_RW | PG_V)
/freebsd-11-stable/sys/x86/acpica/
HDacpi_wakeup.c435 pt4[i] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
442 pt3[i] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
446 pt2[i] |= PG_V | PG_RW | PG_PS | PG_U; in acpi_install_wakeup_handler()
/freebsd-11-stable/sys/amd64/include/
HDpmap.h90 #define PG_RW X86_PG_RW macro
121 PG_M | PG_A | PG_U | PG_RW | PG_V)
151 #undef PG_RW
/freebsd-11-stable/sys/dev/dcons/
HDdcons_os.c323 *vtopte(KERNBASE + pa) |= PG_RW; in dcons_drv_init()
/freebsd-11-stable/sys/amd64/vmm/
HDvmm_instruction_emul.c2011 (writable && (pte32 & PG_RW) == 0)) { in vm_gla2gpa()
2093 (writable && (pte & PG_RW) == 0)) { in vm_gla2gpa()