/openbsd/sys/arch/amd64/amd64/ |
H A D | locore0.S | 456 orl $(PG_V|PG_KR),%eax 466 orl $(PG_V|PG_KR), %eax 476 orl $(PG_V|PG_KW), %eax 488 orl $(PG_V|PG_KR), %eax 501 orl $(PG_V|PG_KR), %eax 520 orl $(PG_V|PG_KW), %eax 528 orl $(PG_V|PG_KW), %eax 536 orl $(PG_V|PG_KW), %eax 544 orl $(PG_V|PG_KW), %eax 552 orl $(PG_V|PG_KW), %eax [all …]
|
H A D | hibernate_machdep.c | 249 PG_RW | PG_V | PG_M | PG_PS | PG_U; in hibernate_enter_resume_2m_pde() 255 npde = (HIBERNATE_PD_LOW2) | PG_RW | PG_V; in hibernate_enter_resume_2m_pde() 262 PG_RW | PG_V | PG_M | PG_PS | PG_U; in hibernate_enter_resume_2m_pde() 269 npde = (HIBERNATE_PDPT_HI) | PG_RW | PG_V; in hibernate_enter_resume_2m_pde() 275 npde = (HIBERNATE_PD_HI) | PG_RW | PG_V; in hibernate_enter_resume_2m_pde() 281 npde = (pa & PG_LGFRAME) | PG_RW | PG_V | PG_PS; in hibernate_enter_resume_2m_pde() 300 npde = (pa & PMAP_PA_MASK) | PG_RW | PG_V | PG_M | PG_U; in hibernate_enter_resume_4k_pte() 353 npde = (HIBERNATE_PDPT_LOW) | PG_RW | PG_V; in hibernate_populate_resume_pt() 359 npde = (HIBERNATE_PD_LOW) | PG_RW | PG_V; in hibernate_populate_resume_pt() 365 npde = (HIBERNATE_PT_LOW) | PG_RW | PG_V; in hibernate_populate_resume_pt()
|
H A D | pmap.c | 477 if ((pde & (PG_PS|PG_V)) != PG_V) in pmap_find_pte_direct() 513 ((pa & PMAP_WC) ? pmap_pg_wc : 0) | PG_V | in pmap_kenter_pa() 861 PG_RW | PG_V | PG_U | PG_M | pg_nx | in pmap_bootstrap() 871 pml2[j] |= PG_RW | PG_V | pg_g_kern | in pmap_bootstrap() 1048 (newp & pg_frame) | PG_V | PG_RW | pg_crypt; in pmap_prealloc_lowmem_ptps() 1585 if (level == 1 && (pte & (PG_PS|PG_V)) == (PG_PS|PG_V)) { in pmap_extract() 2320 pd[l4idx] = (npa | PG_RW | PG_V | pg_crypt); in pmap_enter_special() 2344 pd[l3idx] = (npa | PG_RW | PG_V | pg_crypt); in pmap_enter_special() 2368 pd[l2idx] = (npa | PG_RW | PG_V | pg_crypt); in pmap_enter_special() 2897 npte = pa | protection_codes[prot] | PG_V; in pmap_enter() [all …]
|
H A D | db_memrw.c | 112 if ((oldpte & PG_V) == 0) { in db_write_text()
|
/openbsd/sys/arch/i386/i386/ |
H A D | pmapae.c | 633 pmap->pm_pdidx_intel[i] |= PG_V; in pmap_alloc_pdir_intel_pae() 989 pmap->pm_pdidx[0] |= PG_V; in pmap_pinit_pd_pae() 990 pmap->pm_pdidx[1] |= PG_V; in pmap_pinit_pd_pae() 991 pmap->pm_pdidx[2] |= PG_V; in pmap_pinit_pd_pae() 992 pmap->pm_pdidx[3] |= PG_V; in pmap_pinit_pd_pae() 1000 PG_M | PG_V | PG_NX; in pmap_pinit_pd_pae() 1002 PG_M | PG_V | PG_NX; in pmap_pinit_pd_pae() 1004 PG_M | PG_V | PG_NX; in pmap_pinit_pd_pae() 1006 PG_M | PG_V | PG_NX; in pmap_pinit_pd_pae() 2015 ptaddr | PG_RW | PG_V | PG_U | PG_M; in pmap_growkernel_pae() [all …]
|
H A D | locore0.S | 336 orl $(PG_V|PG_KR),%eax 340 leal (PG_V|PG_KW)(%edx),%eax 350 movl $(IOM_BEGIN|PG_V|PG_KW/*|PG_N*/),%eax # having these bits set 359 leal (SYSMAP+PG_V|PG_KW|PG_U|PG_M)(%esi),%eax # pte for KPT in proc 0 368 leal (SYSMAP+PG_V|PG_KW|PG_U|PG_M)(%esi),%eax # pte for KPT in proc 0 372 leal (PROC0PDIR+PG_V|PG_KW|PG_U|PG_M)(%esi),%eax # pte for ptd
|
H A D | pmap.c | 720 *ptpte = PG_V | PG_RW | pa; /* always a new mapping */ in pmap_tmpmap_pa_86() 846 PG_V | global | PG_U | PG_M | in pmap_kenter_pa() 1115 npte = PTP0_PA | PG_RW | PG_V | PG_U | PG_M; in pmap_prealloc_lowmem_ptp() 1257 PG_RW | PG_V | PG_M | PG_U | pde_flags); in pmap_alloc_ptp_86() 1608 *zpte = (pa & PG_FRAME) | PG_V | PG_RW; /* map in */ in pmap_zero_phys_86() 1657 *pte = (pa & PG_FRAME) | PG_V | PG_RW; in pmap_flush_page() 1686 *spte = (srcpa & PG_FRAME) | PG_V | PG_RW; in pmap_copy_page_86() 1687 *dpte = (dstpa & PG_FRAME) | PG_V | PG_RW; in pmap_copy_page_86() 2396 npte = pa | protection_codes[prot] | PG_V; in pmap_enter_86() 2516 pd[l2idx] = (npa | PG_RW | PG_V | PG_M | PG_U); in pmap_enter_special_86() [all …]
|
H A D | hibernate_machdep.c | 240 npde = (pa & HIB_PD_MASK) | PG_RW | PG_V | PG_M | PG_PS; in hibernate_enter_resume_4m_pde() 253 npte = (pa & PMAP_PA_MASK) | PG_RW | PG_V | PG_M; in hibernate_enter_resume_4k_pte() 266 npde = (HIBERNATE_PT_PAGE & PMAP_PA_MASK) | PG_RW | PG_V | PG_M; in hibernate_enter_resume_4k_pde()
|
H A D | db_memrw.c | 85 if ((bits & PG_V) == 0) { in db_write_text()
|
/openbsd/sys/arch/amd64/stand/libsa/ |
H A D | exec_i386.c | 338 pml4[kern_pml4] = (uint64_t)pml3 | PG_V | PG_RW; in make_kernel_page_tables() 341 pml3[kern_pml3] = (uint64_t)pml2 | PG_V | PG_RW; in make_kernel_page_tables() 345 pml2[i + kern_pml2] = (uint64_t)pml1 | PG_V | PG_RW; in make_kernel_page_tables() 358 (j - kern_pml1) * PAGE_SIZE) | PG_V | PG_RW; in make_kernel_page_tables() 363 pml4[0] = (uint64_t)pml3 | PG_V | PG_RW; /* Covers 0-512GB */ in make_kernel_page_tables() 366 pml3[0] = (uint64_t)pml2 | PG_V | PG_RW; /* Covers 0-1GB */ in make_kernel_page_tables() 369 pml2[i] = (i << L2_SHIFT) | PG_V | PG_RW | PG_PS; in make_kernel_page_tables()
|
/openbsd/lib/libkvm/ |
H A D | kvm_amd64.c | 117 if ((pde & PG_V) == 0) { in _kvm_kvatop() 131 if ((pde & PG_V) == 0) { in _kvm_kvatop() 145 if ((pde & PG_V) == 0) { in _kvm_kvatop() 171 if ((pte & PG_V) == 0) { in _kvm_kvatop()
|
H A D | kvm_sh.c | 103 if ((l1pte & PG_V) == 0) { in _kvm_kvatop() 124 if ((l2pte & PG_V) == 0) { in _kvm_kvatop()
|
H A D | kvm_i386.c | 207 if ((vm->PTD[pdei(vm,va)] & PG_V) == 0) in _kvm_kvatop() 218 if ((pte & PG_V) == 0) in _kvm_kvatop()
|
/openbsd/sys/arch/mips64/mips64/ |
H A D | pmap.c | 616 if (pte[k] & PG_V) { in pmap_collect() 715 if (!(entry & PG_V)) in pmap_do_remove() 756 if (!(entry & PG_V)) in pmap_do_remove() 814 if (!(entry & PG_V)) in pmap_page_wrprotect() 830 if (!(entry & PG_V)) in pmap_page_wrprotect() 975 if (!(entry & PG_V)) in pmap_protect() 1318 if (!(entry & PG_V)) in pmap_kremove() 1345 if (*pte & PG_V) { in pmap_unwire() 1385 if (*pte & PG_V) in pmap_extract() 1707 if (entry & PG_V) { in pmap_do_page_cache() [all …]
|
H A D | db_machdep.c | 401 if (tlblo & PG_V) { in db_print_tlb() 444 (tlb.tlb_lo0 & PG_V || tlb.tlb_lo1 & PG_V)) || in db_dump_tlb_cmd() 447 tlb.tlb_lo0 & PG_V) || in db_dump_tlb_cmd() 450 tlb.tlb_lo1 & PG_V)) { in db_dump_tlb_cmd() 479 if (tlb.tlb_lo0 & PG_V || tlb.tlb_lo1 & PG_V) { in db_dump_tlb_cmd()
|
/openbsd/sys/arch/m88k/include/ |
H A D | mmu.h | 112 #define PG_V 0x00000001 macro 125 #define PDT_VALID(pte) (*(pte) & PG_V)
|
/openbsd/sys/arch/sh/sh/ |
H A D | pmap.c | 310 entry |= PG_V | PG_D; in pmap_enter() 314 entry |= PG_V; in pmap_enter() 344 entry |= PG_V | PG_SH | in pmap_enter() 348 entry |= PG_V | in pmap_enter() 558 entry = (pa & PG_PPN) | PG_V | PG_SH | PG_4K; in pmap_kenter_pa() 826 if ((*pte & PG_V) == 0) in pmap_clear_reference() 828 *pte &= ~PG_V; in pmap_clear_reference() 1029 entry |= PG_V; in __pmap_pte_load()
|
H A D | locore_c.c | 185 md_upte->data = (*pte & PG_HW_BITS) | PG_D | PG_V; in sh3_switch_setup()
|
/openbsd/sys/arch/sh/include/ |
H A D | pte.h | 57 #define PG_V 0x00000100 /* Valid */ macro
|
/openbsd/sys/arch/i386/include/ |
H A D | pte.h | 53 #define PG_V 0x00000001 /* valid entry */ macro
|
/openbsd/sys/dev/pci/drm/include/asm/ |
H A D | pgtable.h | 36 #define _PAGE_PRESENT PG_V
|
/openbsd/sys/arch/amd64/include/ |
H A D | pte.h | 109 #define PG_V 0x0000000000000001UL /* valid */ macro
|
/openbsd/sys/arch/alpha/include/ |
H A D | pte.h | 85 #define PG_V ALPHA_PTE_VALID macro
|
/openbsd/sys/arch/m88k/m88k/ |
H A D | pmap.c | 596 npte = m88k_protection(prot) | cmode | PG_W | PG_V; in pmap_map() 752 *pte++ = pa | PG_SO | PG_RO | PG_W | PG_V; in pmap_bootstrap() 758 *pte++ = pa | PG_SO | PG_RW | PG_M_U | PG_W | PG_V | CACHE_WT; in pmap_bootstrap() 760 *pte++ = pa | PG_SO | PG_RW | PG_M_U | PG_W | PG_V; in pmap_bootstrap() 766 *pte++ = pa | PG_SO | PG_RW | PG_M_U | PG_V; in pmap_bootstrap() 775 template = PG_SO | PG_RW | PG_M_U | PG_W | PG_V | pte_cmode; in pmap_bootstrap() 1094 npte |= PG_V; in pmap_enter() 1157 npte = m88k_protection(prot) | PG_W | PG_V; in pmap_kenter_pa()
|
/openbsd/sys/arch/mips64/include/ |
H A D | pte.h | 131 #define PG_V 0x00000002 macro
|