• Home
  • Raw
  • Download

Lines Matching refs:r6

4 invstr:	mflr	r6				/* Make it accessible */
11 tlbsx 0,r6 /* search MSR[IS], SPID=PID0 */
25 tlbsx 0,r6 /* search MSR[IS], SPID=PID1 */
33 tlbsx 0,r6 /* Fall through, we had to match */
47 li r6,0 /* Set Entry counter to 0 */
49 rlwimi r7,r6,16,4,15 /* Setup MAS0 = TLBSEL | ESEL(r6) */
54 cmpw r3,r6
59 skpinv: addi r6,r6,1 /* Increment */
60 cmpw r6,r9 /* Are we done? */
64 li r6,0x04
65 tlbivax 0,r6
68 li r6,0x0c
69 tlbivax 0,r6
81 mfspr r6,SPRN_MAS1 /* extract MAS1[SIZE] */
82 rlwinm r6,r6,25,27,31
84 addi r6,r6,10
85 slw r6,r8,r6 /* convert to mask */
94 and r8,r6,r8
95 subfic r9,r6,-4096
105 xori r6,r4,1 /* Setup TMP mapping in the other Address space */
106 slwi r6,r6,12
107 oris r6,r6,(MAS1_VALID|MAS1_IPROT)@h
108 ori r6,r6,(MAS1_TSIZE(BOOK3E_PAGESZ_4K))@l
109 mtspr SPRN_MAS1,r6
110 mfspr r6,SPRN_MAS2
112 rlwimi r7,r6,0,20,31
117 xori r6,r4,1
118 slwi r6,r6,5 /* setup new context with other address space */
124 mtspr SPRN_SRR1,r6
128 li r6,0
129 mtspr SPRN_MAS6,r6
130 mtspr SPRN_PID0,r6
137 mtspr SPRN_PID1,r6
138 mtspr SPRN_PID2,r6
146 mfspr r6,SPRN_MAS1
147 rlwinm r6,r6,0,2,0 /* clear IPROT */
148 mtspr SPRN_MAS1,r6
165 lis r6,0x1000 /* Set MAS0(TLBSEL) = TLB1(1), ESEL = 0 */
166 mtspr SPRN_MAS0,r6
167 lis r6,(MAS1_VALID|MAS1_IPROT)@h
168 ori r6,r6,(MAS1_TSIZE(BOOK3E_PAGESZ_64M))@l
169 mtspr SPRN_MAS1,r6
170 lis r6,MAS2_VAL(PAGE_OFFSET, BOOK3E_PAGESZ_64M, M_IF_SMP)@h
171 ori r6,r6,MAS2_VAL(PAGE_OFFSET, BOOK3E_PAGESZ_64M, M_IF_SMP)@l
172 mtspr SPRN_MAS2,r6
177 lis r6,(KERNELBASE & ~0xfff)@h
178 ori r6,r6,(KERNELBASE & ~0xfff)@l
208 mr r6, r25
217 rlwimi r6,r9,0,20,31
218 addi r6,r6,(2f - 1b)
219 mtspr SPRN_SRR0,r6