Home
last modified time | relevance | path

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

/NextBSD/sys/boot/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()
/NextBSD/sys/amd64/amd64/
HDpmap.c1853 pt_entry_t pte, PG_RW, PG_V; in pmap_extract_and_hold() local
1859 PG_RW = pmap_rw_bit(pmap); in pmap_extract_and_hold()
1866 if ((pde & PG_RW) || (prot & VM_PROT_WRITE) == 0) { in pmap_extract_and_hold()
1877 ((pte & PG_RW) || (prot & VM_PROT_WRITE) == 0)) { in pmap_extract_and_hold()
2299 pt_entry_t PG_A, PG_M, PG_RW, PG_V; in _pmap_allocpte() local
2306 PG_RW = pmap_rw_bit(pmap); in _pmap_allocpte()
2343 *pml4 = VM_PAGE_TO_PHYS(m) | PG_U | PG_RW | PG_V | PG_A | PG_M; in _pmap_allocpte()
2374 *pdp = VM_PAGE_TO_PHYS(m) | PG_U | PG_RW | PG_V | PG_A | PG_M; in _pmap_allocpte()
2423 *pd = VM_PAGE_TO_PHYS(m) | PG_U | PG_RW | PG_V | PG_A | PG_M; in _pmap_allocpte()
2714 pt_entry_t PG_G, PG_A, PG_M, PG_RW; in reclaim_pv_chunk() local
[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.c318 pt4[i] |= PG_V | PG_RW | PG_U; in native_start_all_aps()
322 pt3[i] |= PG_V | PG_RW | PG_U; in native_start_all_aps()
326 pt2[i] |= PG_V | PG_RW | PG_PS | PG_U; in native_start_all_aps()
HDmachdep.c1374 *pte = pa | PG_V | PG_RW | PG_NC_PWT | PG_NC_PCD; in getmemsize()
/NextBSD/sys/i386/i386/
HDlocore.s783 fillkptphys($PG_RW)
788 fillkptphys($PG_RW)
794 fillkptphys($PG_RW)
799 fillkptphys($PG_RW)
804 fillkptphys($PG_RW)
809 fillkptphys($PG_RW)
814 fillkptphys($PG_RW)
820 fillkpt(R(vm86pa), $PG_RW|PG_U)
826 fillkpt(R(vm86pa), $PG_RW|PG_U)
844 fillkpt(R(IdlePTD), $PG_RW)
[all …]
HDpmap.c482 KPTD[i] = (KPTphys + (i << PAGE_SHIFT)) | pgeflag | PG_RW | PG_V; in pmap_bootstrap()
1360 *PMAP2 = newpf | PG_RW | PG_V | PG_A | PG_M; in pmap_pte()
1421 *PMAP1 = newpf | PG_RW | PG_V | PG_A | PG_M; in pmap_pte_quick()
1492 if ((pde & PG_RW) || (prot & VM_PROT_WRITE) == 0) { in pmap_extract_and_hold()
1505 ((pte & PG_RW) || (prot & VM_PROT_WRITE) == 0)) { in pmap_extract_and_hold()
1535 pte_store(pte, pa | PG_RW | PG_V | pgeflag); in pmap_kenter()
1544 pte_store(pte, pa | PG_RW | PG_V | pgeflag | pmap_cache_bits(mode, 0)); in pmap_kenter_attr()
1603 newpde = start | PG_PS | pgeflag | PG_RW | PG_V; in pmap_map()
1642 pte_store(pte, pa | pgeflag | PG_RW | PG_V); in pmap_qenter()
1892 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.c432 pcb->new_ptd = vm86pa | PG_V | PG_RW | PG_U; in vm86_initialize()
603 pte[entry] = page | PG_V | PG_RW | PG_U;
HDminidump_machdep.c305 fakept[k] = (pa + (k * PAGE_SIZE)) | PG_V | PG_RW | PG_A | PG_M; in minidumpsys()
HDvm_machdep.c791 *ptep = VM_PAGE_TO_PHYS(sf->m) | pgeflag | PG_RW | PG_V | in sf_buf_map()
HDmachdep.c1775 pte[i] = (i << PAGE_SHIFT) | PG_V | PG_RW | PG_U;
1945 *pte = pa | PG_V | PG_RW | pg_n;
2321 *pte = pa | PG_V | PG_RW | PG_N;
/NextBSD/sys/boot/userboot/userboot/
HDelf64_freebsd.c59 #define PG_RW 0x002 macro
127 PT4[i] |= PG_V | PG_RW | PG_U; in elf64_exec()
131 PT3[i] |= PG_V | PG_RW | PG_U; in elf64_exec()
135 PT2[i] |= PG_V | PG_RW | PG_PS | PG_U; in elf64_exec()
/NextBSD/sys/boot/efi/loader/arch/amd64/
HDelf64_freebsd.c70 #define PG_RW 0x002 macro
160 PT4[i] |= PG_V | PG_RW | PG_U; in elf64_exec()
164 PT3[i] |= PG_V | PG_RW | PG_U; in elf64_exec()
168 PT2[i] |= PG_V | PG_RW | PG_PS | PG_U; in elf64_exec()
/NextBSD/sys/i386/include/
HDpmap.h53 #define PG_RW 0x002 /* R/W Read/Write */ macro
81 #define PG_PROT (PG_RW|PG_U) /* all protection bits . */
93 PG_M | PG_A | PG_NC_PCD | PG_NC_PWT | PG_U | PG_RW | PG_V)
/NextBSD/sys/x86/acpica/
HDacpi_wakeup.c401 pt4[i] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
408 pt3[i] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
412 pt2[i] |= PG_V | PG_RW | PG_PS | PG_U; in acpi_install_wakeup_handler()
/NextBSD/sys/x86/xen/
HDpv.c180 PT4[i] |= PG_V | PG_RW | PG_U; in hammer_time_xen()
187 PT3[i] |= PG_V | PG_RW | PG_U; in hammer_time_xen()
194 PT2[i] |= PG_V | PG_RW | PG_PS | PG_U; in hammer_time_xen()
/NextBSD/sys/amd64/include/
HDpmap.h90 #define PG_RW X86_PG_RW macro
120 PG_M | PG_A | PG_U | PG_RW | PG_V)
150 #undef PG_RW
/NextBSD/sys/dev/dcons/
HDdcons_os.c310 *vtopte(KERNBASE + pa) |= PG_RW; in dcons_drv_init()
/NextBSD/sys/amd64/vmm/
HDvmm_instruction_emul.c1746 (writable && (pte32 & PG_RW) == 0)) { in vm_gla2gpa()
1828 (writable && (pte & PG_RW) == 0)) { in vm_gla2gpa()