15 #include <asm/mmu_context.h>
76 __flush_tlb_slot(entry);
123 unsigned long long pteh, ptel;
125 pteh = neff_sign_extend(eaddr);
128 ptel = neff_sign_extend(paddr);
132 asm volatile(
"putcfg %0, 1, %1\n\t"
134 : :
"r" (config_addr),
"r" (ptel),
"r" (pteh));
147 static int dtlb_entry;
148 static unsigned long long dtlb_entries[64];
152 unsigned long long entry;
160 dtlb_entries[dtlb_entry++] =
entry;
172 unsigned long long entry;
178 entry = dtlb_entries[dtlb_entry--];
188 unsigned long long ptel;
189 unsigned long long pteh=0;
191 unsigned long long next;
192 unsigned int fault_code = get_thread_fault_code();
209 if (fault_code & FAULT_CODE_ITLB)
215 __flush_tlb_slot(next);
216 asm volatile (
"putcfg %0,1,%2\n\n\t"
218 : :
"r" (
next),
"r" (pteh),
"r" (ptel) );
221 if (next > tlbp->
last)