Lines Matching refs:g4
113 * Get the diagnostic logout data. %g4 must be initialized to
118 ldxa [%g0]ASI_ESTATE_ERR, %g4
119 and %g4, EN_REG_CEEN, %g4
121 DO_TL1_CPU_LOGOUT(%g3, %g2, %g4, %g5, %g6, %g3, %g4)
145 set CH_ECACHE_8M_SIZE, %g4
156 CH_ECACHE_FLUSHALL(%g4, %g5, %g6)
175 ASM_LD(%g4, dcache_size)
177 CH_DCACHE_FLUSHALL(%g4, %g5, %g6)
198 ASM_LD(%g4, icache_size)
200 CH_ICACHE_FLUSHALL(%g4, %g5, %g6, %g3)
224 ld [%g6 + TRAPTR_OFFSET], %g4
225 add %g5, %g4, %g5
232 rd STICK, %g4
233 stxa %g4, [%g5 + TRAP_ENT_TICK]%asi
234 rdpr %tl, %g4
235 stha %g4, [%g5 + TRAP_ENT_TL]%asi
236 rdpr %tt, %g4
237 stha %g4, [%g5 + TRAP_ENT_TT]%asi
238 rdpr %tpc, %g4
239 stna %g4, [%g5 + TRAP_ENT_TPC]%asi
240 rdpr %tstate, %g4
241 stxa %g4, [%g5 + TRAP_ENT_TSTATE]%asi
246 ldxa [%g1 + CH_ERR_TL1_SDW_AFSR]%asi, %g4
249 stna %g4, [%g5 + TRAP_ENT_F2]%asi
252 ldxa [%g1 + CH_ERR_TL1_AFSR]%asi, %g4
255 stna %g4, [%g5 + TRAP_ENT_F4]%asi
262 ld [%g6 + TRAPTR_LIMIT], %g4
265 sub %g4, TRAP_ENT_SIZE, %g4
266 cmp %g5, %g4
286 set 1, %g4
287 sllx %g4, C_AFSR_UCU_SHIFT, %g4
288 btst %g4, %g3 ! UCU in original AFSR?
291 ldxa [%g0]ASI_AFSR, %g4 ! current AFSR
292 or %g3, %g4, %g3 ! %g3 = original + current AFSR
293 set 1, %g4
294 sllx %g4, C_AFSR_WDU_SHIFT, %g4
295 btst %g4, %g3 ! WDU in original or current AFSR?