• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/

Lines Matching refs:word

219 			or		r0,r30,r0					; Fill high word of 64-bit with 1s so we will properly carry
2423 ; word of the xor.
3616 la r5,ppLink+4(r3) ; Point to the link word
4075 rlwimi r4,r5,0,17,31 ; Insert the new generation number into the control word
4369 li r0,1 ; Get our lock word
4553 li r0,1 ; Get our lock word
4929 cntlzw r3,r4 ; Get first 1-bit in 1st word
4931 cntlzw r10,r5 ; Get first free field in second word
4932 andc r4,r4,r9 ; Turn 1-bit off in 1st word
4933 bne mapalc1f ; Found one in 1st word
4935 srw. r9,r0,r10 ; Get bit corresponding to first free one in 2nd word
4975 slwi r6,r4,1 ; shift first word over
4976 and r6,r4,r6 ; lite start of double bit runs in 1st word
4977 slwi r7,r5,1 ; shift 2nd word over
4978 cntlzw r3,r6 ; Get first free 2-bit run in 1st word
4979 and r7,r5,r7 ; lite start of double bit runs in 2nd word
4980 srw. r9,r0,r3 ; Get bit corresponding to first run in 1st word
4981 cntlzw r10,r7 ; Get first free field in second word
4982 srwi r11,r9,1 ; shift over for 2nd bit in 1st word
4983 andc r4,r4,r9 ; Turn off 1st bit in 1st word
4984 andc r4,r4,r11 ; turn off 2nd bit in 1st word
4985 bne mapalc2a ; Found two consecutive free bits in 1st word
4987 srw. r9,r0,r10 ; Get bit corresponding to first free one in second word
4990 andc r5,r5,r9 ; Turn off 1st bit in 2nd word
4991 andc r5,r5,r11 ; turn off 2nd bit in 2nd word
4992 beq-- mapalc2c ; There are no runs of 2 bits in 2nd word either
5014 rlwinm r7,r5,1,31,31 ; move bit 0 of 2nd word to bit 31
5017 rlwinm r4,r4,0,0,30 ; yes, turn off bit 31 of 1st word
5018 rlwinm r5,r5,0,1,31 ; turn off bit 0 of 2nd word
5938 ; r20 : current active map word's physical address
5940 ; r22 : updated active map word in process
5941 ; r23 : active map word in process
5995 li r28,0 ; r28 <- index of first active map word to search
5997 b grlMap1st ; Examine first map word
6000 grlNextMap: stw r22,0(r21) ; Save updated map word
6001 addi r28,r28,1 ; Increment map word index
6005 grlMap1st: la r20,VMX_ACTMAP_OFFSET(r25) ; Get base of active map word array
6009 lwz r22,0(r20) ; Get active map word at index
6011 beq grlNextMap ; Nope, check next word
6015 ; Extract page index from map word index and convert
6025 grlLoop: cntlzw r11,r23 ; Get next active bit lit in map word
6026 cmplwi r11,32 ; Any active mappings left in this word?
6030 beq grlNextMap ; No bits lit, examine next map word
6069 b grlLoop ; On to next active mapping in this map word
7947 gcpSetKey: lwz r0,mpVAddr+4(r31) ; Get va word containing protection bits
8296 li r0,1 ; Get our lock word
8384 li r0,1 ; Get our lock word
8459 ; fields fit in a single word and are loaded and stored under control of the
8544 sxlkCTry: lwarx r2,0,r3 ; Get the lock word
8573 sxlkPTry: lwarx r2,0,r3 ; Get the lock word
8602 sxlkXTry: lwarx r2,0,r3 ; Get the lock word
8628 sxlkShared: lwarx r2,0,r3 ; Get the lock word