Home
last modified time | relevance | path

Searched refs:PT_WRITABLE (Results 1 – 17 of 17) sorted by relevance

/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()
137 pt_bits &= ~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()
311 if (PTE_GET(pte_val, PT_WRITABLE)) in kbm_probe()
366 x86pte_t pte_val = pa_to_ma(pfn_to_pa(pfn)) | PT_WRITABLE | in kbm_remap()
506 PT_VALID | PT_REF | PT_USER | PT_WRITABLE; in make_ptable()
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()
1976 newpte |= PT_WRITABLE; in x86pte_mapin()
2299 if ((expect & (PT_WRITABLE | PT_MOD)) == PT_WRITABLE && in x86pte_update()
2300 (new & (PT_WRITABLE | PT_MOD)) == 0 && in x86pte_update()
2306 CAS_PTE(ptep, found, found | PT_WRITABLE); in x86pte_update()
2308 } while ((found & PT_WRITABLE) == 0); in x86pte_update()
2435 newpte = MAKEPTE(dest->ht_pfn, 0) | PT_WRITABLE; in x86pte_zero()
H A Dhat_i86.c1579 PTE_SET(pte, PT_WRITABLE); in hati_mkpte()
1796 (PT_PADDR | PT_NX | PT_WRITABLE | PT_WRITETHRU | \
3097 if (PTE_GET(pte, PT_WRITABLE)) in hat_getattr()
3150 !PTE_GET(oldpte, PT_WRITABLE)) in hat_updateattr()
3151 newpte |= PT_WRITABLE; in hat_updateattr()
3163 PTE_GET(oldpte, PT_WRITABLE)) in hat_updateattr()
3164 newpte &= ~PT_WRITABLE; in hat_updateattr()
3176 newpte &= ~PT_WRITABLE; in hat_updateattr()
3552 if (PTE_GET(pte, PT_WRITABLE)) in hat_share()
3694 PTE_GET(old, PT_WRITABLE) == 0) in hati_page_clrwrt()
[all …]
H A Dhat_kdi.c235 PTE_SET(pte, PT_WRITABLE); in kdi_prw()
H A Di86_mmu.c216 (void) xen_kpm_page(pfn, PT_VALID | PT_WRITABLE); in xen_kpm_finish_init()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_sol_rvi.c38 bits |= PT_WRITABLE; in rvi_prot()
56 if ((pte & PT_WRITABLE) != 0) in rvi_pte_prot()
84 const uint64_t rprot = PT_WRITABLE; in rvi_map_table()
/illumos-gate/usr/src/test/bhyve-tests/tests/common/
H A Din_guest.c40 #define PT_WRITABLE 0x02 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.h111 #define PT_WRITABLE (0x002) /* the page is writable */ 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/cmd/mdb/i86pc/modules/unix/
H A Di86mmu.c445 if (PTE_GET(pte, PT_WRITABLE)) in do_pte_dcmd()
1087 writable = PTE_GET(pte, PT_WRITABLE); in ptmap_dcmd()
1089 writable != PTE_GET(pte, PT_WRITABLE)) { in ptmap_dcmd()
1094 writable = PTE_GET(pte, PT_WRITABLE); in ptmap_dcmd()
/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()
1113 pt_bits |= PT_WRITABLE; in xen_gdt_setprot()
1139 pt_bits |= PT_WRITABLE; 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()
/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;
/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;
440 *pteval & ~(x86pte_t)PT_WRITABLE, UVMF_INVLPG | UVMF_LOCAL)) in make_ptable()
/illumos-gate/usr/src/uts/i86xpv/vm/
H A Dseg_mf.c264 pte |= PT_WRITABLE; in segmf_faultpage()
/illumos-gate/usr/src/uts/common/xen/dtrace/
H A Dxdt.c570 | PT_FOREIGN | PT_WRITABLE; in xdt_map_trace_buffers()