Lines Matching defs:tte
233 * tte = reg containing tte
236 #define ITLB_STUFF(tte, scr1, scr2, scr3, scr4) \
244 mov tte, %o2; \
260 * tte = reg containing tte
263 #define DTLB_STUFF(tte, scr1, scr2, scr3, scr4) \
271 mov tte, %o2; \
287 * tte = reg containing tte
291 * tte = PFN value
293 #define TTETOPFN(tte, vaddr, label, scr1, scr2, scr3) \
294 and tte, TTE_SZ_BITS, scr1; /* scr1 = ttesz */ \
295 sllx tte, TTE_PA_LSHIFT, tte; \
301 srlx tte, scr3, tte; \
302 sllx tte, scr2, tte; \
309 or tte, scr2, tte; \
318 * tte = reg containing tte
319 * ttepa = physical pointer to tte
326 #define TTE_SET_REF_ML(tte, ttepa, tsbarea, tmp1, tmp2, label) \
329 btst TTE_REF_INT, tte; \
334 or tte, TTE_REF_INT, tmp1; \
335 casxa [ttepa]ASI_MEM, tte, tmp1; /* update ref bit */ \
336 cmp tte, tmp1; \
338 ldxa [ttepa]ASI_MEM, tte; /* MMU_READTTE through pa */ \
339 or tte, TTE_REF_INT, tte; \
349 * tte = reg containing tte
350 * ttepa = physical pointer to tte
358 #define TTE_SET_REFMOD_ML(tte, ttepa, tsbarea, tmp1, tmp2, label, \
362 btst TTE_WRPRM_INT, tte; \
364 btst TTE_HWWR_INT, tte; \
369 or tte, TTE_HWWR_INT | TTE_REF_INT, tmp1; \
370 casxa [ttepa]ASI_MEM, tte, tmp1; /* update ref/mod bit */ \
371 cmp tte, tmp1; \
373 ldxa [ttepa]ASI_MEM, tte; /* MMU_READTTE through pa */ \
374 or tte, TTE_HWWR_INT | TTE_REF_INT, tte; \
429 * g5 = location data(tte) will be retrieved into from TSB (out)
441 /* trapstat expects tte in %g5 */ ;\
489 /* trapstat expects tte in %g5 */ ;\