Lines Matching refs:g4
77 set KERNELBASE, %g4
78 cmp %g5, %g4
84 set _end, %g4 ! _end is highest kernel address
85 cmp %g5, %g4
95 set CTXREG_CTX_MASK, %g4 ! check Pcontext
96 btst %g4, %g1
123 ! g4: arg4
130 TRACE_PTR(%g4, %g6)
132 stxa %g6, [%g4 + TRAP_ENT_TICK]%asi
134 stha %g6, [%g4 + TRAP_ENT_TL]%asi
136 stha %g6, [%g4 + TRAP_ENT_TT]%asi
138 stna %g6, [%g4 + TRAP_ENT_TPC]%asi
140 stxa %g6, [%g4 + TRAP_ENT_TSTATE]%asi
141 stna %sp, [%g4 + TRAP_ENT_SP]%asi
142 stna %g5, [%g4 + TRAP_ENT_TR]%asi ! pc of the TL>0 handler
143 stxa %g1, [%g4 + TRAP_ENT_F1]%asi
144 stxa %g2, [%g4 + TRAP_ENT_F3]%asi
145 stxa %g0, [%g4 + TRAP_ENT_F2]%asi
146 stxa %g0, [%g4 + TRAP_ENT_F4]%asi
147 TRACE_NEXT(%g4, %g6, %g3)
197 ! g4: pointer to dmv_dispatch_table
216 ldn [%g3], %g4
217 brz,pn %g4, 2f
220 add %g4, %g3, %g4 ! %g4 = &dmv_dispatch_table[inum]
224 ldda [%g4]ASI_NQUAD_LD, %g2 ! %g2=handler %g3=argument
292 TRACE_PTR(%g4, %g6)
294 stxa %g6, [%g4 + TRAP_ENT_TICK]%asi
296 stha %g6, [%g4 + TRAP_ENT_TL]%asi
299 stha %g6, [%g4 + TRAP_ENT_TT]%asi
301 stna %g6, [%g4 + TRAP_ENT_TPC]%asi
303 stxa %g6, [%g4 + TRAP_ENT_TSTATE]%asi
304 stna %sp, [%g4 + TRAP_ENT_SP]%asi
305 stna %g1, [%g4 + TRAP_ENT_TR]%asi ! irsr
306 stna %g2, [%g4 + TRAP_ENT_F1]%asi
308 stxa %g5, [%g4 + TRAP_ENT_F2]%asi
309 stxa %g0, [%g4 + TRAP_ENT_F4]%asi
310 TRACE_NEXT(%g4, %g6, %g3)
319 ! %g4 - current pil
330 sub %g0, 1, %g4