Lines Matching refs:g2
88 * %g2: pointer to our cpu structure
106 * %g2: pointer to our cpu structure
126 * %g2: pointer to our cpu structure
137 stn %l0, [%g2 + CPU_TMP1];
138 stn %l1, [%g2 + CPU_TMP2];
147 stn %l2, [%g2 + CPU_TMP3];
148 stn %l3, [%g2 + CPU_TMP4];
151 mov %g2, %l3; /* save %g2 in %l3 */
235 mov %l3, %g2;
237 ldn [%g2 + CPU_THREAD], %g3; /* get thread ptr */
282 * Note that %g2 should be loaded with the CPU struct addr and
288 mov %l3, %g2; /* restore %g2 from %l3 */
290 ldn [%g2 + CPU_TMP4], %l3; /* restore locals */
291 ldn [%g2 + CPU_TMP3], %l2;
294 ldn [%g2 + CPU_TMP2], %l1; /* restore locals */
295 ldn [%g2 + CPU_TMP1], %l0;