xref: /csrg-svn/lib/libc/sparc/sys/syscall.s (revision 57469)
154411Storek/*
254411Storek * Copyright (c) 1992 The Regents of the University of California.
354411Storek * 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*57469Storek	.asciz "@(#)syscall.s	5.2 (Berkeley) 01/10/93"
1654411Storek#endif /* LIBC_SCCS and not lint */
1754411Storek
1854411Storek#include "SYS.h"
1954411Storek
2054411StorekENTRY(syscall)
21*57469Storek	mov	0|SYSCALL_G2RFLAG, %g1	! 0 == indir
22*57469Storek	add	%o7, 8, %g2
2354411Storek	t	ST_SYSCALL
2454411Storek	ERROR()
25