Subversion Repositories HelenOS

Rev

Rev 3463 | Rev 4276 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3463 Rev 3482
Line 746... Line 746...
746
	/*
746
	/*
747
	 * CWP is now in the window last saved in the userspace window buffer.
747
	 * CWP is now in the window last saved in the userspace window buffer.
748
	 * Fill all windows stored in the buffer.
748
	 * Fill all windows stored in the buffer.
749
	 */
749
	 */
750
	clr %g4
750
	clr %g4
751
	set PAGE_SIZE - 1, %g5
-
 
752
0:	andcc %g7, %g5, %g0			! PAGE_SIZE alignment check
751
0:	andcc %g7, UWB_ALIGNMENT - 1, %g0	! alignment check
753
	bz 0f					! %g7 is page-aligned, no more windows to refill
752
	bz 0f					! %g7 is UWB_ALIGNMENT-aligned, no more windows to refill
754
	nop
753
	nop
755
 
754
 
756
	add %g7, -STACK_WINDOW_SAVE_AREA_SIZE, %g7
755
	add %g7, -STACK_WINDOW_SAVE_AREA_SIZE, %g7
757
	ldx [%g7 + L0_OFFSET], %l0
756
	ldx [%g7 + L0_OFFSET], %l0
758
	ldx [%g7 + L1_OFFSET], %l1
757
	ldx [%g7 + L1_OFFSET], %l1