Lines Matching refs:r21
147 stw r21,FM_ARG0+0x10(r1) ; Save a register
172 lwz r21,mbvrswap+4(r11) ; Get conversion mask for mapping
177 ld r21,mbvrswap(r11) ; Get conversion mask for mapping
183 xor r31,r31,r21 ; Convert the mapping to physical addressing
191 li r21,0 ; Remember that we have the shared lock
239 hamFits: mr. r21,r21 ; Do we already have the exclusive lock?
260 li r21,1 ; Remember that we have the exclusive lock
356 lwz r21,FM_ARG0+0x10(r1) ; Save a register
379 lwz r21,mpVAddr+4(r3) ; Get the overlay address
385 andc r21,r21,r0 ; Clear RC bits
393 rlwinm r4,r21,0,0,19 ; Save the bottom of the colliding address
398 cmplw cr1,r21,r9 ; Low part?
534 stw r21,FM_ARG0+0x18(r1) ; Save a register
659 lwz r21,mpPte(r31) ; Grab the offset to the PTE
667 rlwinm r0,r21,0,mpHValidb,mpHValidb ; See if we actually have a PTE
670 rlwinm r21,r21,0,~mpHValid ; Clear out valid bit
676 add r26,r29,r21 ; Point to the PTEG slot
680 rlwinm r9,r21,28,4,29 ; Convert PTEG to PCA entry
688 lwz r21,mpPte(r31) ; Get the quick pointer again
691 rlwinm. r0,r21,0,mpHValidb,mpHValidb ; See if we actually have a PTE
692 rlwinm r21,r21,0,~mpHValid ; Clear out valid bit
694 stw r21,mpPte(r31) ; Make sure we invalidate mpPte, still pointing to PTEG (keep walk_page from making a mistake)
721 rlwinm r2,r21,29,29,31 ; Get slot number (8 byte entries)
861 lwz r21,FM_ARG0+0x18(r1) ; Restore a register
941 rlwinm r21,r27,26,10,25 ; Shift page index to PTEG offset (and remember VADDR in R27)
1100 hrmSplit64: rlwinm r9,r21,27,5,29 ; Convert PTEG to PCA entry
1108 lwz r21,mpPte(r31) ; Get the quick pointer again
1111 rlwinm. r0,r21,0,mpHValidb,mpHValidb ; See if we actually have a PTE
1112 rlwinm r21,r21,0,~mpHValid ; Clear out valid bit
1117 stw r21,mpPte(r31) ; Make sure we invalidate mpPte but keep pointing to PTEG (keep walk_page from making a mistake)
1141 rlwinm r2,r21,28,29,31 ; Get slot number (16 byte entries)
1753 stw r21,FM_ARG0+0x18(r1) ; Save a register
1865 stw r21,FM_ARG0+0x18(r1) ; Save a register
1925 rlwinm r21,r20,8,24,31 ; Extract the busy count
1926 cmplwi cr2,r21,0 ; Is it busy?
1984 stw r21,FM_ARG0+0x18(r1) ; Save a register
2132 stw r21,FM_ARG0+0x18(r1) ; Save a register
3842 lhz r21,mpSpace(r31) ; Get the space
3854 hpfCSrch: lhz r21,mpSpace(r31) ; Get the space
3863 slwi r11,r21,3 ; Multiply space by 8
3867 slwi r12,r21,2 ; Multiply space by 4
3982 ; r21: home space id number
3997 rlwinm r20,r21,28,22,31 ; Shift upper 10 bits of space into high order
4000 rlwimi r21,r21,14,4,17 ; Make a second copy of space above first
4004 rlwimi r21,r21,28,0,3 ; Get low order of 3rd copy of space at top of register
4006 xor r15,r15,r21 ; Calculate the bottom half of the VSID
4312 li r21,8 ; Get the number of slots
4327 hpfNoPte32: subic. r21,r21,1 ; See if we have tried all slots
4501 li r21,8 ; Get the number of slots
4516 hpfNoPte64: subic. r21,r21,1 ; See if we have tried all slots
4706 ; address in r28, the guest pmap's space id in r21, and the guest pmap's
4716 lwz r21,pmapSpace(r28) ; r21 <- guest space ID number
4723 xor r3,r3,r21 ; spaceID ^ (vaddr >> 12)
4754 xor r7,r7,r21 ; Compare space ID
4765 xor r4,r4,r21 ; Compare space ID
4777 lwz r21,pmapSpace(r28) ; r21 <- guest space ID number
4785 xor r3,r3,r21 ; spaceID ^ (vaddr >> 12)
4816 xor r7,r7,r21 ; Compare space ID
4827 xor r4,r4,r21 ; Compare space ID
5939 ; r21 : current hash table page address
5974 stw r21,FM_ARG0+0x28(r1) ; Save non-volatile r21
6000 grlNextMap: stw r22,0(r21) ; Save updated map word
6013 la r21,VMX_HPIDX_OFFSET(r25) ; Get base of hash page physical index
6017 add r21,r21,r11 ; Calculate page physical index entry address
6019 lwz r21,4(r21) ; Get selected hash table page's address
6021 grl64Page: ld r21,0(r21) ; Get selected hash table page's address
6035 add r31,r31,r21 ; Add hash page address yielding mapping slot address
6093 lwz r21,FM_ARG0+0x28(r1) ; Restore non-volatile r21