Lines Matching refs:r1

50 	ld	r11,_CCR(r1)	/* Clear SO bit in CR */
53 std r11,_CCR(r1)
64 ld r4,GPR0(r1)
65 ld r5,GPR3(r1)
66 ld r6,GPR4(r1)
67 ld r7,GPR5(r1)
68 ld r8,GPR6(r1)
69 ld r9,GPR7(r1)
72 ld r4,GPR8(r1)
73 ld r5,GPR9(r1)
76 ld r0,GPR0(r1)
77 ld r3,GPR3(r1)
78 ld r4,GPR4(r1)
79 ld r5,GPR5(r1)
80 ld r6,GPR6(r1)
81 ld r7,GPR7(r1)
82 ld r8,GPR8(r1)
115 addi r9,r1,STACK_FRAME_OVERHEAD
118 20: std r3,RESULT(r1) /* Save result */
127 ld r3,RESULT(r1)
137 22: ld r10,_CCR(r1) /* Set SO bit in CR */
139 std r10,_CCR(r1)
140 30: std r3,GPR3(r1) /* Update return value */
147 ld r0,GPR0(r1) /* Restore original registers */
148 ld r3,GPR3(r1)
149 ld r4,GPR4(r1)
150 ld r5,GPR5(r1)
151 ld r6,GPR6(r1)
152 ld r7,GPR7(r1)
153 ld r8,GPR8(r1)
154 ld r9,GPR9(r1)
179 addi r9,r1,STACK_FRAME_OVERHEAD
182 58: std r3,RESULT(r1) /* Save result */
190 57: ld r10,_CCR(r1) /* Set SO bit in CR */
192 std r10,_CCR(r1)
193 60: std r3,GPR3(r1) /* Update return value */
251 stdu r1,-INT_FRAME_SIZE(r1)
252 ld r6,0(r1)
253 std r6,GPR1(r1)
255 SAVE_GPR(2, r1)
256 SAVE_8GPRS(14, r1)
257 SAVE_10GPRS(22, r1)
269 std r20,_NIP(r1)
270 std r22,_MSR(r1)
271 std r20,_LINK(r1)
273 std r20,_CCR(r1)
275 std r6,TRAP(r1)
276 std r1,KSP(r3) /* Set old stack pointer */
289 ld r1,KSP(r4) /* Load new stack pointer */
290 ld r6,_CCR(r1)
293 REST_8GPRS(14, r1)
294 REST_10GPRS(22, r1)
296 ld r7,_NIP(r1) /* Return to _switch caller in new task */
297 ld r1,GPR1(r1)
312 ld r5,SOFTE(r1)
322 addi r3,r1,STACK_FRAME_OVERHEAD
328 ld r3,_MSR(r1) /* Returning to user mode? */
346 addi r4,r1,STACK_FRAME_OVERHEAD
350 ld r3,_CTR(r1)
351 ld r0,_LINK(r1)
354 ld r3,_XER(r1)
357 REST_8GPRS(5, r1)
358 REST_10GPRS(14, r1)
359 REST_8GPRS(24, r1)
370 ld r0,SOFTE(r1)
383 stdcx. r0,0,r1 /* to clear the reservation */
386 ld r0,SOFTE(r1)
390 ld r0,_MSR(r1)
400 addi r0,r1,INT_FRAME_SIZE /* size of frame */
402 std r1,PACAKSAVE(r13) /* save exception stack pointer */
403 REST_GPR(13,r1)
410 ld r0,_MSR(r1)
412 ld r2,_CCR(r1)
414 ld r2,_NIP(r1)
416 ld r0,GPR0(r1)
417 ld r2,GPR2(r1)
418 ld r3,GPR3(r1)
419 ld r4,GPR4(r1)
420 ld r1,GPR1(r1)
434 std r0,16(r1)
435 stdu r1,-RTAS_FRAME_SIZE(r1) /* Save SP and create stack space. */
441 SAVE_GPR(2, r1) /* Save the TOC */
442 SAVE_GPR(13, r1) /* Save current */
443 SAVE_8GPRS(14, r1) /* Save the non-volatiles */
444 SAVE_10GPRS(22, r1) /* ditto */
447 std r4,_CCR(r1)
449 std r5,_CTR(r1)
451 std r6,_XER(r1)
453 std r7,_DAR(r1)
455 std r8,_DSISR(r1)
457 std r9,_SRR0(r1)
459 std r10,_SRR1(r1)
465 std r1,PACAR1(r13)
506 ld r1,PACAR1(r13) /* Restore our SP */
516 REST_GPR(2, r1) /* Restore the TOC */
517 REST_GPR(13, r1) /* Restore current */
518 REST_8GPRS(14, r1) /* Restore the non-volatiles */
519 REST_10GPRS(22, r1) /* ditto */
524 ld r4,_CCR(r1)
526 ld r5,_CTR(r1)
528 ld r6,_XER(r1)
530 ld r7,_DAR(r1)
532 ld r8,_DSISR(r1)
534 ld r9,_SRR0(r1)
536 ld r10,_SRR1(r1)
539 addi r1,r1,RTAS_FRAME_SIZE /* Unstack our frame */
540 ld r0,16(r1) /* get return address */
547 std r0,16(r1)
548 stdu r1,-PROM_FRAME_SIZE(r1) /* Save SP and create stack space */
554 SAVE_8GPRS(2, r1) /* Save the TOC & incoming param(s) */
555 SAVE_GPR(13, r1) /* Save current */
556 SAVE_8GPRS(14, r1) /* Save the non-volatiles */
557 SAVE_10GPRS(22, r1) /* ditto */
560 std r4,_CCR(r1)
562 std r5,_CTR(r1)
564 std r6,_XER(r1)
566 std r7,_DAR(r1)
568 std r8,_DSISR(r1)
570 std r9,_SRR0(r1)
572 std r10,_SRR1(r1)
574 std r11,_MSR(r1)
580 mtspr SPRG2,r1
599 REST_8GPRS(2, r1) /* Restore the TOC & param(s) */
600 REST_GPR(13, r1) /* Restore current */
601 REST_8GPRS(14, r1) /* Restore the non-volatiles */
602 REST_10GPRS(22, r1) /* ditto */
605 mfspr r1,SPRG2 /* Restore the stack pointer */
606 ld r6,_MSR(r1) /* Restore the MSR */
610 REST_GPR(2, r1) /* Restore the TOC */
611 REST_GPR(13, r1) /* Restore current */
612 REST_8GPRS(14, r1) /* Restore the non-volatiles */
613 REST_10GPRS(22, r1) /* ditto */
615 ld r4,_CCR(r1)
617 ld r5,_CTR(r1)
619 ld r6,_XER(r1)
621 ld r7,_DAR(r1)
623 ld r8,_DSISR(r1)
625 ld r9,_SRR0(r1)
627 ld r10,_SRR1(r1)
629 addi r1,r1,PROM_FRAME_SIZE
630 ld r0,16(r1) /* get return address */