Lines Matching refs:cwp
208 rdpr %cwp, %g1
211 wrpr %g3, %cwp
219 wrpr %g3, %cwp
222 wrpr %g1, %cwp
285 rdpr %cwp, %g1
288 wrpr %g3, %cwp
296 wrpr %g3, %cwp
301 wrpr %g1, %cwp
571 * %g4 saved %cwp (so we can get back to the original window)
594 rdpr %cwp, %g4 ! remember our window so we can return
596 subcc %g4, %g2, %g2 ! current = %cwp - %canrestore
605 ! the %cwp by one (mod nwindows) because we're in the user's windows
610 wrpr %g2, %cwp ! change windows
622 wrpr %g4, %cwp ! change back to the original window
649 rdpr %cwp, %g4 ! remember our window so we can return
651 sub %g4, %g2, %g2 ! current = %cwp - %canrestore -
661 wrpr %g2, %cwp ! change to the first user window
663 wrpr %g4, %cwp ! change back to the original window
697 rdpr %cwp, %g2
699 ! Set %cwp to be (%cwp - %canrestore - %o1) mod NWINDOWS
701 sub %g2, %o3, %o2 ! %o2 is %cwp - %canrestore
704 wrpr %o4, %cwp
710 wrpr %o4, %cwp
715 wrpr %g2, %cwp
765 rdpr %cwp, %g2
767 ! Set %cwp to be (%cwp - %canrestore - 1) mod NWINDOWS
769 sub %g2, %o3, %o2 ! %o2 is %cwp - %canrestore
772 wrpr %o4, %cwp
777 wrpr %o4, %cwp
782 wrpr %g2, %cwp