# File name	Caller	Syscall name	# args	Strong name	Weak names

#
# Calls for compatibility with existing MIPS OS implementations and
# compilers.
#
cachectl	-	cachectl	3	__cachectl	cachectl
cacheflush	-	cacheflush	3	_flush_cache	cacheflush
sysmips		-	sysmips		4	__sysmips	sysmips

# override select.S in parent directory:
select		-	select		5	__select	select
sigsuspend	-	sigsuspend	1	__sigsuspend	sigsuspend

#
# Socket functions; Linux/MIPS doesn't use the socketcall(2) wrapper;
# it's provided for compatibility, though.
#
accept		-	accept		3	__libc_accept	__accept accept
bind		-	bind		3	__bind		bind
connect		-	connect		3	__libc_connect	__connect connect
getpeername	-	getpeername	3	__getpeername	getpeername
getsockname	-	getsockname	3	__getsockname	getsockname
getsockopt	-	getsockopt	5	__getsockopt	getsockopt
listen		-	listen		2	__listen	listen
recv		-	recv		4	__libc_recv	__recv recv
recvfrom	-	recvfrom	6	__libc_recvfrom	__recvfrom recvfrom
recvmsg		-	recvmsg		3	__libc_recvmsg	__recvmsg recvmsg
send		-	send		4	__libc_send	__send send
sendmsg		-	sendmsg		3	__libc_sendmsg	__sendmsg sendmsg
sendto		-	sendto		6	__libc_sendto	__sendto sendto
setsockopt	-	setsockopt	5	__setsockopt	setsockopt
shutdown	-	shutdown	2	__shutdown	shutdown
socket		-	socket		3	__socket	socket
socketpair	-	socketpair	4	__socketpair	socketpair

getresuid	-	getresuid	3	getresuid
getresgid	-	getresgid	3	getresgid

#
# There are defined locally because the caller is also defined in this dir.
#
s_llseek	llseek	_llseek		5	__sys_llseek
s_sigaction	sigaction sigaction	3	__syscall_sigaction
s_ustat		ustat	ustat		2	__syscall_ustat
sys_mknod	xmknod	mknod		3	__syscall_mknod
sys_fstat	fxstat	fstat		2	__syscall_fstat
sys_lstat	lxstat	lstat		2	__syscall_lstat
sys_stat	xstat	stat		2	__syscall_stat
