Subversion Repositories HelenOS

Rev

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

Rev 3482 Rev 3749
Line 604... Line 604...
604
	 */
604
	 */
605
	call %l0
605
	call %l0
606
	add %sp, PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE + STACK_BIAS + SAVED_TNPC, %o1
606
	add %sp, PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE + STACK_BIAS + SAVED_TNPC, %o1
607
.else
607
.else
608
	/*
608
	/*
609
	 * Call the higher-level syscall handler.
609
	 * Call the higher-level syscall handler and enable interrupts.
610
	 */
610
	 */
611
	call syscall_handler
611
	call syscall_handler
612
	nop
-
 
-
 
612
	wrpr %g0, PSTATE_PRIV_BIT | PSTATE_PEF_BIT | PSTATE_IE_BIT, %pstate
613
	mov %o0, %i0				! copy the value returned by the syscall
613
	mov %o0, %i0				! copy the value returned by the syscall
614
.endif
614
.endif
615
 
615
 
616
	RESTORE_GLOBALS
616
	RESTORE_GLOBALS
617
	rdpr %pstate, %l1			! we must preserve the PEF bit
617
	rdpr %pstate, %l1			! we must preserve the PEF bit