Subversion Repositories HelenOS

Rev

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

Rev 1876 Rev 1880
Line 648... Line 648...
648
	flush %l0
648
	flush %l0
649
 
649
 
650
.if NOT(\is_syscall)
650
.if NOT(\is_syscall)
651
	ba 1f
651
	ba 1f
652
	nop
652
	nop
653
 
-
 
654
0:
653
0:
655
	save %sp, -PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE, %sp
654
	save %sp, -PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE, %sp
656
 
655
 
657
	/*
656
	/*
658
	 * At this moment, we are using the kernel stack 
657
	 * At this moment, we are using the kernel stack 
Line 779... Line 778...
779
	ldx [%sp + PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE + STACK_BIAS + SAVED_I6], %i6
778
	ldx [%sp + PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE + STACK_BIAS + SAVED_I6], %i6
780
	ldx [%sp + PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE + STACK_BIAS + SAVED_I7], %i7
779
	ldx [%sp + PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE + STACK_BIAS + SAVED_I7], %i7
781
 
780
 
782
	/*
781
	/*
783
	 * OTHERWIN != 0 or fall-through from the OTHERWIN == 0 case.
782
	 * OTHERWIN != 0 or fall-through from the OTHERWIN == 0 case.
784
	 * The CWP has already been restored to the value it had prior to the SAVE
783
	 * The CWP has already been restored to the value it had after the SAVE
785
	 * at the beginning of this function.
784
	 * at the beginning of this function.
786
	 */
785
	 */
787
0:
786
0:
788
.if NOT(\is_syscall)
787
.if NOT(\is_syscall)
789
	rdpr %tstate, %g1
788
	rdpr %tstate, %g1