Lines Matching refs:g1
32 rdpr %tstate, %g1
33 andcc %g1, TSTATE_PRIV, %g0
36 and %g1, TSTATE_CWP, %g1
59 wrpr %g1, %cwp ! Get into the right window.
65 mov PRIMARY_CONTEXT, %g1 ! Change contexts...
66 stxa %g0, [%g1] ASI_DMMU ! Back into the nucleus.
97 ldub [%g6 + AOFF_task_thread + AOFF_thread_flags], %g1
98 andcc %g1, SPARC_FLAG_32BIT, %g0
99 ldub [%g6 + AOFF_task_thread + AOFF_thread_w_saved], %g1
101 sll %g1, 3, %g3
104 sll %g1, 7, %g3
144 2: add %g1, 1, %g1
146 stb %g1, [%g6 + AOFF_task_thread + AOFF_thread_w_saved]
147 rdpr %tstate, %g1
148 andcc %g1, TSTATE_PRIV, %g0
150 and %g1, TSTATE_CWP, %g1
158 wrpr %g1, %cwp
172 rdpr %tstate, %g1
173 andcc %g1, TSTATE_PRIV, %g0
175 and %g1, TSTATE_CWP, %g1
181 wrpr %g1, %cwp ! Get into the right window.
187 mov PRIMARY_CONTEXT, %g1 ! Change contexts...
188 stxa %g0, [%g1] ASI_DMMU ! Back into the nucleus.
207 ldub [%g6 + AOFF_task_thread + AOFF_thread_flags], %g1
208 andcc %g1, SPARC_FLAG_32BIT, %g0
209 ldub [%g6 + AOFF_task_thread + AOFF_thread_w_saved], %g1
210 sll %g1, 3, %g3
214 sll %g1, 7, %g3
236 add %g1, 1, %g1
246 add %g1, 1, %g1
247 2: stb %g1, [%g6 + AOFF_task_thread + AOFF_thread_w_saved]
248 rdpr %tstate, %g1
250 andcc %g1, TSTATE_PRIV, %g0
253 and %g1, TSTATE_CWP, %g1
256 wrpr %g1, %cwp
279 rdpr %tstate, %g1
280 andcc %g1, TSTATE_PRIV, %g0
282 and %g1, TSTATE_CWP, %g1
288 wrpr %g1, %cwp ! Get into the right window.
294 mov PRIMARY_CONTEXT, %g1 ! Change contexts...
295 stxa %g0, [%g1] ASI_DMMU ! Back into the nucleus.
314 ldub [%g6 + AOFF_task_thread + AOFF_thread_flags], %g1
315 andcc %g1, SPARC_FLAG_32BIT, %g0
316 ldub [%g6 + AOFF_task_thread + AOFF_thread_w_saved], %g1
317 sll %g1, 3, %g3
321 sll %g1, 7, %g3
343 add %g1, 1, %g1
353 add %g1, 1, %g1
354 2: stb %g1, [%g6 + AOFF_task_thread + AOFF_thread_w_saved]
355 rdpr %tstate, %g1
357 andcc %g1, TSTATE_PRIV, %g0
360 and %g1, TSTATE_CWP, %g1
363 wrpr %g1, %cwp