2.9BSD/usr/src/lib/c/sys/ucall.s

Compare this file to the similar file:
Show the results in this format:

/
/ ucall -- call a kernel subroutine
/ return = ucall(priority, addr, arg1, arg2)
/

.globl	_ucall

_ucall:
	mov	r5,-(sp)
	mov	sp,r5
	mov	4(r5),0f
	mov	6(r5),0f+2
	mov	10(r5),0f+4
	mov	12(r5),0f+6
	sys	local; 9f
	mov	(sp)+, r5
	rts	pc
.data
9:
	sys	ucall; 0:..; ..; ..; ..;