Lines Matching refs:template
431 pt_entry_t template;
561 template = pa_to_pte(pa) | INTEL_PTE_VALID;
562 template |= pmap_get_cache_attributes(pa_index(pa));
567 template |= INTEL_PTE_PTA;
568 template |= INTEL_PTE_NCACHE;
571 template |= INTEL_PTE_USER;
573 template |= INTEL_PTE_WRITE;
576 template |= INTEL_PTE_NX;
579 template |= INTEL_PTE_WIRED;
592 template |= INTEL_PTE_PS; /* to change the page size! */
595 ((old_attributes ^ template) != INTEL_PTE_WIRED);
601 npte = template | (opte & (INTEL_PTE_REF | INTEL_PTE_MOD));
767 * Build a template to speed up entering -
770 template = pa_to_pte(pa) | INTEL_PTE_VALID;
776 template |= pmap_get_cache_attributes(pa_index(pa));
780 template |= INTEL_PTE_PTA;
781 template |= INTEL_PTE_NCACHE;
784 template |= INTEL_PTE_USER;
786 template |= INTEL_PTE_WRITE;
788 template |= INTEL_PTE_NX;
790 template |= INTEL_PTE_WIRED;
795 template |= INTEL_PTE_PS;
796 pmap_store_pte(pte, template);
1495 pt_entry_t template;
1499 template = pa_to_pte(start_addr)
1506 template |= INTEL_PTE_NCACHE;
1508 template |= INTEL_PTE_PTA;
1513 template |= INTEL_PTE_NX;
1517 template |= INTEL_PTE_WRITE;
1525 pmap_store_pte(pte, template);
1527 pte_increment_pa(template);