Lines Matching refs:g2
32 etrap: rdpr %pil, %g2
37 sllx %g2, 20, %g3
41 sub %sp, STACKFRAME_SZ+TRACEREG_SZ-STACK_BIAS, %g2
48 sethi %hi(TASK_REGOFF), %g2
50 or %g2, %lo(TASK_REGOFF), %g2
53 add %g6, %g2, %g2
57 stx %g1, [%g2 + STACKFRAME_SZ + PT_V9_TSTATE]
59 stx %g3, [%g2 + STACKFRAME_SZ + PT_V9_TPC]
61 stx %g1, [%g2 + STACKFRAME_SZ + PT_V9_TNPC]
63 st %g3, [%g2 + STACKFRAME_SZ + PT_V9_Y]
66 st %g1, [%g2 + STACKFRAME_SZ + PT_V9_MAGIC]
91 etrap_save: save %g2, -STACK_BIAS, %sp
102 rdpr %wstate, %g2
108 sll %g2, 3, %g2
120 wrpr %g2, 0, %wstate
121 sethi %hi(sparc64_kern_pri_context), %g2
122 ldx [%g2 + %lo(sparc64_kern_pri_context)], %g3
145 stx %g2, [%sp + PTREGS_OFF + PT_V9_G2]
220 sub %sp, ((4 * 8) * 4) + 8, %g2
225 stx %g3, [%g2 + STACK_BIAS + 0x00]
227 stx %g3, [%g2 + STACK_BIAS + 0x08]
229 stx %g3, [%g2 + STACK_BIAS + 0x10]
231 stx %g3, [%g2 + STACK_BIAS + 0x18]
235 stx %g3, [%g2 + STACK_BIAS + 0x20]
237 stx %g3, [%g2 + STACK_BIAS + 0x28]
239 stx %g3, [%g2 + STACK_BIAS + 0x30]
241 stx %g3, [%g2 + STACK_BIAS + 0x38]
250 stx %g3, [%g2 + STACK_BIAS + 0x40]
252 stx %g3, [%g2 + STACK_BIAS + 0x48]
254 stx %g3, [%g2 + STACK_BIAS + 0x50]
256 stx %g3, [%g2 + STACK_BIAS + 0x58]
260 stx %g3, [%g2 + STACK_BIAS + 0x60]
262 stx %g3, [%g2 + STACK_BIAS + 0x68]
264 stx %g3, [%g2 + STACK_BIAS + 0x70]
266 stx %g3, [%g2 + STACK_BIAS + 0x78]
268 stx %g1, [%g2 + STACK_BIAS + 0x80]
279 sub %g2, STACKFRAME_SZ + TRACEREG_SZ - STACK_BIAS, %g2