Lines Matching refs:r5

71 	lwz	r5,PGDIR(r8)		/* virt page-table root */
73 lis r5,swapper_pg_dir@ha /* if kernel address, use */
74 addi r5,r5,swapper_pg_dir@l /* kernel page table */
76 112: tophys(r5, r5)
78 rlwimi r5,r4,12,20,29 /* insert top 10 bits of address */
79 lwz r8,0(r5) /* get pmd entry */
83 lwzx r8,r8,r5 /* Get L1 entry */
115 mfsrin r5,r4
117 rlwinm r5,r5,12,_PAGE_RW /* Ks => _PAGE_RW */
118 andc r5,r5,r0 /* Ks & ~MSR[PR] */
119 andc r5,r6,r5 /* Clear _PAGE_RW when Ks = 1 && MSR[PR] = 0 */
120 andc. r5,r3,r5 /* check access & ~permission */
122 andc. r5,r3,r6 /* check access & ~permission */
131 or r5,r0,r6 /* set accessed/dirty bits */
141 stwcx. r5,0,r8 /* attempt to update PTE */
218 mr r8,r5
237 ori r5,r6,_PAGE_HASHPTE
238 stwcx. r5,0,r8
310 rlwinm r8,r5,32-9,30,30 /* _PAGE_RW -> PP msb */
311 rlwinm r0,r5,32-6,30,30 /* _PAGE_DIRTY -> PP msb */
313 rlwimi r5,r5,32-1,30,30 /* _PAGE_USER -> PP msb */
314 rlwimi r5,r5,32-2,31,31 /* _PAGE_USER -> PP lsb */
316 andc r8,r5,r8 /* PP = user? (rw&dirty? 1: 3): 0 */
327 rlwinm r5,r3,7,1,24 /* put VSID in 0x7fffff80 bits */
328 rlwimi r5,r4,10,26,31 /* put in API (abbrev page index) */
329 SET_V(r5) /* set V (valid) bit */
353 CMPPTE 0,r6,r5
359 ori r5,r5,PTE_H /* set H (secondary hash) bit */
365 CMPPTE 0,r6,r5
368 xori r5,r5,PTE_H /* clear H bit again */
380 ori r5,r5,PTE_H /* set H (secondary hash) bit */
389 xori r5,r5,PTE_H /* clear H bit again */
411 STPTE r5,0(r4)
435 CLR_V(r5,r0) /* clear V (valid) bit in PTE */
436 STPTE r5,0(r4)
441 SET_V(r5)
442 STPTE r5,0(r4) /* finally set V bit in PTE */
482 rlwimi r5,r4,22,20,29
484 rlwimi r5,r4,23,20,28
485 addi r5,r5,PTE_FLAGS_OFFSET
487 1: lwz r0,0(r5)
493 addi r5,r5,PTE_T_SIZE
531 33: lwarx r8,0,r5 /* fetch the pte flags word */
535 stwcx. r8,0,r5 /* update the pte */
578 addi r5,r5,PTE_T_SIZE
580 lwz r0,0(r5) /* check next pte */