Home
last modified time | relevance | path

Searched refs:PT_VALID (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_sol_rvi.c50 if ((pte & PT_VALID) == 0) in rvi_pte_prot()
82 const uint64_t flags = PT_USER | PT_REF | PT_VALID; in rvi_map_table()
92 const uint64_t flags = PT_USER | PT_REF | PT_VALID; in rvi_map_page()
107 return ((pte & PT_VALID) == PT_VALID); in rvi_pte_is_present()
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dkboot_mmu.c131 x86pte_t pt_bits = PT_NOCONSIST | PT_VALID | PT_WRITABLE; in kbm_remap_window()
165 pteval = pa_to_ma(pa) | PT_NOCONSIST | PT_VALID | PT_WRITABLE; in kbm_map()
211 pteval = ma | PT_NOCONSIST | PT_VALID | PT_REF | PT_WRITABLE; in kbm_map_ma()
367 PT_NOCONSIST | PT_VALID; in kbm_remap()
392 if (!(old_pte & PT_VALID) || ma_to_pa(old_pte) == -1) in kbm_remap()
405 PT_NOCONSIST | PT_REF | PT_MOD | PT_VALID; in kbm_read_only()
503 *pteval = pa_to_ma(new_table) | PT_VALID; in make_ptable()
506 PT_VALID | PT_REF | PT_USER | PT_WRITABLE; in make_ptable()
H A Dhat_pte.h47 #define PTE_ISVALID(p) PTE_GET(p, PT_VALID)
H A Dhat_kdi.c230 pte = kdi_ptom(mmu_ptob(mmu_btop(pa))) | PT_VALID; in kdi_prw()
H A Dhtable.c345 if (kpm_vbase && xen_kpm_page(pfn, PT_VALID | PT_WRITABLE) < 0) in ptable_free()
878 PT_VALID | PT_WRITABLE) < 0) { in htable_alloc()
965 (void) xen_kpm_page(ht->ht_pfn, PT_VALID); in htable_alloc()
967 (void) xen_kpm_page(hat->hat_user_ptable, PT_VALID); in htable_alloc()
2113 if (l > 0 && (prev & PT_VALID) && !(prev & PT_PAGESIZE)) { in x86pte_set()
H A Di86_mmu.c216 (void) xen_kpm_page(pfn, PT_VALID | PT_WRITABLE); in xen_kpm_finish_init()
H A Dhat_i86.c938 mmu.pte_bits[i] = PT_VALID | pt_kern; in mmu_init()
/illumos-gate/usr/src/test/bhyve-tests/tests/common/
H A Din_guest.c39 #define PT_VALID 0x01 macro
101 *ptep = gpa | PT_VALID | PT_WRITABLE | PT_PAGESIZE; in populate_identity_table()
111 pdep[0] = MEM_LOC_PAGE_TABLE_2M | PT_VALID | PT_WRITABLE; in populate_identity_table()
112 pdep[1] = (MEM_LOC_PAGE_TABLE_2M + PAGE_SIZE) | PT_VALID | PT_WRITABLE; in populate_identity_table()
114 (MEM_LOC_PAGE_TABLE_2M + 2 * PAGE_SIZE) | PT_VALID | PT_WRITABLE; in populate_identity_table()
116 (MEM_LOC_PAGE_TABLE_2M + 3 * PAGE_SIZE) | PT_VALID | PT_WRITABLE; in populate_identity_table()
119 pdep[0] = MEM_LOC_PAGE_TABLE_1G | PT_VALID | PT_WRITABLE; in populate_identity_table()
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dmach_mmu.h110 #define PT_VALID (0x001) /* a valid translation is present */ macro
124 #define PT_PTPBITS (PT_VALID | PT_USER | PT_WRITABLE | PT_REF)
/illumos-gate/usr/src/uts/i86xpv/boot/
H A Dboot_xconsole.c52 #define PTE_BITS (PT_VALID | PT_WRITABLE)
53 #define PTE_DEV_BITS (PT_VALID | PT_WRITABLE | PT_NOCACHE | PT_NOCONSIST | \
/illumos-gate/usr/src/uts/i86pc/boot/
H A Dboot_mmu.c96 if (pteval & PT_VALID) { in find_pte()
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxen_machdep.c546 xen_info->shared_info | PT_NOCONSIST | PT_VALID | PT_WRITABLE, in xen_suspend_domain()
1111 int pt_bits = PT_VALID; in xen_gdt_setprot()
1136 int pt_bits = PT_VALID; in xen_ldt_setprot()
H A Dxen_mmu.c451 if (kpm_vbase != NULL && xen_kpm_page(pfn, PT_VALID | PT_WRITABLE) < 0) in reassign_pfn()
H A Dxpv_panic.c166 pte = pfn_to_pa(pfn) | PT_VALID; in xpv_panic_map()
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/
H A Di86mmu.c469 if (PTE_GET(pte, PT_VALID) == 0) in do_pte_dcmd()
779 if ((pte & PT_VALID) == 0) in do_report_maps()
1077 if (PTE_GET(pte, PT_VALID) == 0) { in ptmap_dcmd()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfastboot.c114 static x86pte_t ptp_bits = PT_VALID | PT_REF | PT_USER | PT_WRITABLE;
116 PT_VALID | PT_REF | PT_MOD | PT_NOCONSIST | PT_WRITABLE;
310 } else if (table[index] & PT_VALID) { in fastboot_map_with_size()
H A Dfakebop.c1958 pte = mfn_to_ma(copy_mfn) | PT_NOCONSIST | PT_VALID; in relocate_boot_archive()
/illumos-gate/usr/src/uts/common/xen/os/
H A Dgnttab.c651 FRAME_TO_MA(frames[i]) | PT_VALID | PT_WRITABLE, in gnttab_resume()
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_startkern.c99 x86pte_t ptp_bits = PT_VALID | PT_REF | PT_WRITABLE | PT_USER;
100 x86pte_t pte_bits = PT_VALID | PT_REF | PT_WRITABLE | PT_MOD | PT_NOCONSIST;
433 *pteval = pa_to_ma((uintptr_t)new_table) | PT_VALID; in make_ptable()
/illumos-gate/usr/src/uts/i86xpv/vm/
H A Dseg_mf.c262 pte = mmu_ptob((x86pte_t)mfn) | PT_VALID | PT_USER | PT_FOREIGN; in segmf_faultpage()
/illumos-gate/usr/src/uts/common/xen/dtrace/
H A Dxdt.c569 pte = mmu_ptob((x86pte_t)mfn) | PT_VALID | PT_USER in xdt_map_trace_buffers()
/illumos-gate/usr/src/cmd/mdb/intel/modules/mdb_kb/
H A Dmdb_kb.c100 #define PT_VALID 0x1 macro