Subversion Repositories HelenOS

Rev

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

Rev 3993 Rev 4064
Line 581... Line 581...
581
	/* call higher-level service routine, pass istate as its 2nd parameter */
581
	/* call higher-level service routine, pass istate as its 2nd parameter */
582
	call %l0
582
	call %l0
583
	add %sp, PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE + STACK_BIAS + SAVED_TNPC, %o1
583
	add %sp, PREEMPTIBLE_HANDLER_STACK_FRAME_SIZE + STACK_BIAS + SAVED_TNPC, %o1
584
.else
584
.else
585
	/* Call the higher-level syscall handler. */
585
	/* Call the higher-level syscall handler. */
586
	wrpr %g0, PSTATE_PRIV_BIT | PSTATE_PEF_BIT | PSTATE_IE_BIT, %pstate
586
	!wrpr %g0, PSTATE_PRIV_BIT | PSTATE_PEF_BIT | PSTATE_IE_BIT, %pstate
587
	call syscall_handler
587
	call syscall_handler
588
	nop
588
	nop
589
	/* copy the value returned by the syscall */
589
	/* copy the value returned by the syscall */
590
	mov %o0, %i0
590
	mov %o0, %i0
591
.endif
591
.endif