xref: /csrg-svn/lib/libc/sparc/sys/syscall.s (revision 61176)
154411Storek/*
2*61176Sbostic * Copyright (c) 1992, 1993
3*61176Sbostic *	The Regents of the University of California.  All rights reserved.
454411Storek *
554411Storek * This software was developed by the Computer Systems Engineering group
654411Storek * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and
754411Storek * contributed to Berkeley.
854411Storek *
954411Storek * %sccs.include.redist.c%
1054411Storek *
1154411Storek * from: $Header: syscall.s,v 1.1 91/07/06 13:06:02 torek Exp $
1254411Storek */
1354411Storek
1454411Storek#if defined(LIBC_SCCS) && !defined(lint)
15*61176Sbostic	.asciz "@(#)syscall.s	8.1 (Berkeley) 06/04/93"
1654411Storek#endif /* LIBC_SCCS and not lint */
1754411Storek
1854411Storek#include "SYS.h"
1954411Storek
2054411StorekENTRY(syscall)
2157469Storek	mov	0|SYSCALL_G2RFLAG, %g1	! 0 == indir
2257469Storek	add	%o7, 8, %g2
2354411Storek	t	ST_SYSCALL
2454411Storek	ERROR()
25