Home
last modified time | relevance | path

Searched refs:PG_V (Results 1 – 20 of 20) sorted by relevance

/freebsd/stand/kboot/kboot/arch/amd64/
H A Delf64_freebsd.c263 PT4[i] |= PG_V | PG_RW; in elf64_exec()
270 PT3[i] |= PG_V | PG_RW; in elf64_exec()
276 PT2[i] |= PG_V | PG_RW | PG_PS; in elf64_exec()
301 PT4[0] = (pml4_entry_t)PT3_l | PG_V | PG_RW; in elf64_exec()
302 PT3_l[0] = (pdp_entry_t)PT2_l0 | PG_V | PG_RW; in elf64_exec()
303 PT3_l[1] = (pdp_entry_t)PT2_l1 | PG_V | PG_RW; in elf64_exec()
304 PT3_l[2] = (pdp_entry_t)PT2_l2 | PG_V | PG_RW; in elf64_exec()
316 PT2_u0[0] = PG_PS | PG_V | PG_RW; in elf64_exec()
321 PG_V | PG_RW | PG_PS; in elf64_exec()
367 PT2_u0[0] = PG_PS | PG_V | PG_RW; in elf64_exec()
[all …]
/freebsd/stand/efi/loader/arch/amd64/
H A Delf64_freebsd.c150 PT4[i] |= PG_V | PG_RW; in elf64_exec()
157 PT3[i] |= PG_V | PG_RW; in elf64_exec()
163 PT2[i] |= PG_V | PG_RW | PG_PS; in elf64_exec()
189 PT4[0] = (pml4_entry_t)PT3_l | PG_V | PG_RW; in elf64_exec()
190 PT3_l[0] = (pdp_entry_t)PT2_l0 | PG_V | PG_RW; in elf64_exec()
191 PT3_l[1] = (pdp_entry_t)PT2_l1 | PG_V | PG_RW; in elf64_exec()
192 PT3_l[2] = (pdp_entry_t)PT2_l2 | PG_V | PG_RW; in elf64_exec()
193 PT3_l[3] = (pdp_entry_t)PT2_l3 | PG_V | PG_RW; in elf64_exec()
195 PT2_l0[i] = ((pd_entry_t)i << PDRSHIFT) | PG_V | in elf64_exec()
204 PT2_u0[0] = PG_PS | PG_V | PG_RW; in elf64_exec()
[all …]
/freebsd/sys/i386/i386/
H A Dminidump_machdep_base.c186 if ((pde & (PG_PS | PG_V)) == (PG_PS | PG_V)) { in cpu_minidumpsys()
197 if ((pde & PG_V) == PG_V) { in cpu_minidumpsys()
202 if ((pte & PG_V) == PG_V) { in cpu_minidumpsys()
286 if ((pde & (PG_PS | PG_V)) == (PG_PS | PG_V)) { in cpu_minidumpsys()
290 fakept[k] = (pa + (k * PAGE_SIZE)) | PG_V | PG_RW | PG_A | PG_M; in cpu_minidumpsys()
301 if ((pde & PG_V) == PG_V) { in cpu_minidumpsys()
H A Dpmap.c525 PG_M | PG_V; in __CONCAT()
538 PG_RW | PG_V; in __CONCAT()
922 if (*head & PG_V) in pmap_ptelist_alloc()
933 if (va & PG_V) in pmap_ptelist_free()
2770 KASSERT((oldpde & (PG_PS | PG_V)) == (PG_PS | PG_V), in pmap_demote_pde()
3495 if ((newpde & ((PG_FRAME & PDRMASK) | PG_V)) != PG_V) { in pmap_promote_pde()
5089 rv = (*pte & (PG_A | PG_V)) == (PG_A | PG_V); in pmap_is_referenced_pvh()
5362 if ((*pte & (PG_MANAGED | PG_V)) != (PG_MANAGED | PG_V)) in __CONCAT()
5856 (pte & (PG_MANAGED | PG_V)) == (PG_MANAGED | PG_V)) { in __CONCAT()
6100 if ((opte & (PG_V | PG_A)) == (PG_V | PG_A)) in __CONCAT()
[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 Dmachdep.c1159 ptr = (int *)pmap_cmap3(pa, PG_V | PG_RW | PG_N); in getmemsize()
/freebsd/sys/amd64/acpica/
H A Dacpi_wakeup.c426 pt5[0] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
432 pt4[0] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
435 pt3[0] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
437 pt3[1] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
439 pt3[2] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
441 pt3[3] |= PG_V | PG_RW | PG_U; in acpi_install_wakeup_handler()
445 pt2_0[i] |= PG_V | PG_RW | PG_PS | PG_U; in acpi_install_wakeup_handler()
449 pt2_1[i] |= PG_V | PG_RW | PG_PS | PG_U; in acpi_install_wakeup_handler()
453 pt2_2[i] |= PG_V | PG_RW | PG_PS | PG_U; in acpi_install_wakeup_handler()
457 pt2_3[i] |= PG_V | PG_RW | PG_PS | PG_U; in acpi_install_wakeup_handler()
/freebsd/stand/i386/libi386/
H A Delf64_freebsd.c46 #define PG_V 0x001 macro
95 PT4[i] |= PG_V | PG_RW; in elf64_exec()
99 PT3[i] |= PG_V | PG_RW; in elf64_exec()
103 PT2[i] |= PG_V | PG_RW | PG_PS; in elf64_exec()
/freebsd/sys/amd64/amd64/
H A Dxen-locore.S59 ELFNOTE(Xen, XEN_ELFNOTE_L1_MFN_VALID, .long, PG_V, PG_V)
105 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 Dpmap.c1414 pt_entry_t PG_V; in pmap_pml4e() local
1450 pt_entry_t PG_V; in pmap_pdpe() local
1476 pt_entry_t PG_V; in pmap_pde() local
6045 KASSERT((oldpde & (PG_PS | PG_V)) == (PG_PS | PG_V), in pmap_demote_pde_locked()
6901 if ((newpde & ((PG_FRAME & PDRMASK) | PG_V)) != PG_V) { in pmap_promote_pde()
8572 if ((tpte & (PG_PS | PG_V)) == PG_V) { in pmap_remove_pages()
8828 if (pde != NULL && (*pde & (PG_PS | PG_V)) == PG_V) { in pmap_is_prefaultable()
9262 if ((*pte & (PG_MANAGED | PG_V)) != (PG_MANAGED | PG_V)) in pmap_advise()
9564 KASSERT((oldpdpe & (PG_PS | PG_V)) == (PG_PS | PG_V), in pmap_demote_pdpe()
10044 (pte & (PG_MANAGED | PG_V)) == (PG_MANAGED | PG_V)) { in pmap_mincore()
[all …]
H A Dminidump_machdep.c199 if ((pdpe & PG_V) == 0) { in cpu_minidumpsys()
223 if ((pde & PG_V) == 0) in cpu_minidumpsys()
246 if ((pte & PG_V) == 0) in cpu_minidumpsys()
333 if ((pdpe & PG_V) == 0) { in cpu_minidumpsys()
H A Dmachdep.c1019 *pte = pa | PG_V | PG_RW | PG_NC_PWT | PG_NC_PCD; in getmemsize()
/freebsd/stand/userboot/userboot/
H A Delf64_freebsd.c58 #define PG_V 0x001 macro
126 PT4[i] |= PG_V | PG_RW; in elf64_exec()
130 PT3[i] |= PG_V | PG_RW; in elf64_exec()
134 PT2[i] |= PG_V | PG_RW | PG_PS; in elf64_exec()
/freebsd/sys/powerpc/aim/
H A Dmmu_radix.c105 #define PG_V RPTE_VALID macro
2303 if ((be64toh(*pte) & (PG_MANAGED | PG_V)) != (PG_MANAGED | PG_V)) in mmu_radix_advise()
2740 if ((newpde & ((PG_FRAME & L3_PAGE_MASK) | PG_A | PG_V)) != (PG_A | PG_V)) { in pmap_promote_l3e()
3155 RPTE_LEAF | PG_V; in pmap_enter_2mpage()
3536 if ((pte & PG_V) && in mmu_radix_extract_and_hold()
3770 mask |= PG_V | PG_A; in pmap_page_test_mappings()
3842 if (l3e != NULL && (be64toh(*l3e) & (RPTE_LEAF | PG_V)) == PG_V) { in mmu_radix_is_prefaultable()
4925 KASSERT((oldpde & (RPTE_LEAF | PG_V)) == (RPTE_LEAF | PG_V), in pmap_demote_l3e_locked()
5479 if ((tpte & (RPTE_LEAF | PG_V)) == PG_V) { in mmu_radix_remove_pages()
5826 (pte & (PG_MANAGED | PG_V)) == (PG_MANAGED | PG_V)) { in mmu_radix_mincore()
[all …]
/freebsd/sys/i386/include/
H A Dpmap.h50 #define PG_V 0x001 /* P Valid */ macro
83 PG_M | PG_NC_PCD | PG_NC_PWT | PG_U | PG_RW | PG_V)
H A Dpmap_pae.h104 MPASS((*ptep & PG_V) == 0); \
/freebsd/lib/libkvm/
H A Dkvm_i386.h73 _Static_assert(PG_V == I386_PG_V, "PG_V mismatch");
H A Dkvm_amd64.h79 _Static_assert(PG_V == AMD64_PG_V, "PG_V mismatch");
/freebsd/sys/amd64/include/
H A Dpmap.h96 #define PG_V X86_PG_V macro
129 PG_M | PG_U | PG_RW | PG_V | PG_PKU_MASK)
162 #undef PG_V
/freebsd/sys/amd64/vmm/
H A Dvmm_instruction_emul.c2031 if (pte & PG_V) in pf_error_code()
2120 if ((pte32 & PG_V) == 0 || in _vm_gla2gpa()
2179 if ((pte & PG_V) == 0) { in _vm_gla2gpa()
2210 if ((pte & PG_V) == 0 || in _vm_gla2gpa()