Lines Matching refs:template
450 pt_entry_t template;
587 template = pa_to_pte(pa) | INTEL_PTE_VALID;
588 template |= pmap_get_cache_attributes(pa_index(pa));
593 template |= INTEL_PTE_PTA;
594 template |= INTEL_PTE_NCACHE;
597 template |= INTEL_PTE_USER;
599 template |= INTEL_PTE_WRITE;
603 template |= INTEL_PTE_NX;
606 template |= INTEL_PTE_WIRED;
619 template |= INTEL_PTE_PS; /* to change the page size! */
621 if (old_attributes == template)
626 ((old_attributes ^ template) != INTEL_PTE_WIRED);
629 if ((old_attributes ^ template) == INTEL_PTE_WRITE)
637 npte = template | (opte & (INTEL_PTE_REF | INTEL_PTE_MOD));
854 * Build a template to speed up entering -
857 template = pa_to_pte(pa) | INTEL_PTE_VALID;
863 template |= pmap_get_cache_attributes(pa_index(pa));
867 template |= INTEL_PTE_PTA;
868 template |= INTEL_PTE_NCACHE;
871 template |= INTEL_PTE_USER;
873 template |= INTEL_PTE_WRITE;
875 template |= INTEL_PTE_NX;
877 template |= INTEL_PTE_WIRED;
882 template |= INTEL_PTE_PS;
883 pmap_store_pte(pte, template);
1791 pt_entry_t template;
1795 template = pa_to_pte(start_addr)
1802 template |= INTEL_PTE_NCACHE;
1804 template |= INTEL_PTE_PTA;
1809 template |= INTEL_PTE_NX;
1813 template |= INTEL_PTE_WRITE;
1821 pmap_store_pte(pte, template);
1823 pte_increment_pa(template);