Lines Matching defs:tte
212 * tte = reg containing tte
215 #define ITLB_STUFF(tte, scr1, scr2, scr3, scr4) \
216 stxa tte, [%g0]ASI_ITLB_IN
222 * tte = reg containing tte
225 #define DTLB_STUFF(tte, scr1, scr2, scr3, scr4) \
226 stxa tte, [%g0]ASI_DTLB_IN
233 * tte = reg containing tte
237 * tte = PFN value
239 #define TTETOPFN(tte, vaddr, label, scr1, scr2, scr3) \
240 srlx tte, TTE_SZ_SHFT, scr1; \
242 srlx tte, TTE_SZ2_SHFT, scr3; \
247 sllx tte, TTE_PA_LSHIFT, tte; \
251 srlx tte, scr3, tte; \
253 sllx tte, scr2, tte; \
260 or tte, scr2, tte; \
273 * tte = reg containing tte
274 * ttepa = physical pointer to tte
281 #define TTE_SET_REF_ML(tte, ttepa, tsbarea, tmp1, tmp2, label) \
284 andcc tte, TTE_REF_INT, %g0; \
306 or tte, TTE_REF_INT, tmp1; \
307 casxa [ttepa]ASI_MEM, tte, tmp1; /* update ref bit */ \
308 cmp tte, tmp1; \
310 ldxa [ttepa]ASI_MEM, tte; /* MMU_READTTE through pa */ \
311 or tte, TTE_REF_INT, tte; \
321 * tte = reg containing tte
322 * ttepa = physical pointer to tte
330 #define TTE_SET_REFMOD_ML(tte, ttepa, tsbarea, tmp1, tmp2, label, \
334 andcc tte, TTE_WRPRM_INT, %g0; \
337 andcc tte, TTE_HWWR_INT, %g0; \
359 or tte, TTE_HWWR_INT | TTE_REF_INT, tmp1; \
360 casxa [ttepa]ASI_MEM, tte, tmp1; /* update ref/mod bit */ \
361 cmp tte, tmp1; \
363 ldxa [ttepa]ASI_MEM, tte; /* MMU_READTTE through pa */ \
364 or tte, TTE_HWWR_INT | TTE_REF_INT, tte; \
452 ldx [tsbinfo + TSBINFO_TTE], tmp; /* fetch locked tte */ \
453 stxa tmp, [tteidx]ASI_DTLB_ACCESS; /* load locked tte */ \
647 * g5 = location data(tte) will be retrieved into from TSB (out)