syscall.S revision 1.7
11.7Sthorpej/*	$NetBSD: syscall.S,v 1.7 2020/04/18 23:55:51 thorpej Exp $	*/
21.1Smsaitoh
31.1Smsaitoh/*-
41.1Smsaitoh * Copyright (c) 1990 The Regents of the University of California.
51.1Smsaitoh * All rights reserved.
61.1Smsaitoh *
71.1Smsaitoh * This code is derived from software contributed to Berkeley by
81.1Smsaitoh * William Jolitz.
91.1Smsaitoh *
101.1Smsaitoh * Redistribution and use in source and binary forms, with or without
111.1Smsaitoh * modification, are permitted provided that the following conditions
121.1Smsaitoh * are met:
131.1Smsaitoh * 1. Redistributions of source code must retain the above copyright
141.1Smsaitoh *    notice, this list of conditions and the following disclaimer.
151.1Smsaitoh * 2. Redistributions in binary form must reproduce the above copyright
161.1Smsaitoh *    notice, this list of conditions and the following disclaimer in the
171.1Smsaitoh *    documentation and/or other materials provided with the distribution.
181.5Sagc * 3. Neither the name of the University nor the names of its contributors
191.1Smsaitoh *    may be used to endorse or promote products derived from this software
201.1Smsaitoh *    without specific prior written permission.
211.1Smsaitoh *
221.1Smsaitoh * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
231.1Smsaitoh * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
241.1Smsaitoh * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
251.1Smsaitoh * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
261.1Smsaitoh * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
271.1Smsaitoh * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
281.1Smsaitoh * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
291.1Smsaitoh * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
301.1Smsaitoh * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
311.1Smsaitoh * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
321.1Smsaitoh * SUCH DAMAGE.
331.1Smsaitoh *
341.1Smsaitoh *	from: @(#)syscall.s	5.1 (Berkeley) 4/23/90
351.1Smsaitoh */
361.1Smsaitoh
371.1Smsaitoh#include <machine/asm.h>
381.1Smsaitoh#if defined(SYSLIBC_SCCS) && !defined(lint)
391.7Sthorpej	RCSID("$NetBSD: syscall.S,v 1.7 2020/04/18 23:55:51 thorpej Exp $")
401.1Smsaitoh#endif /* SYSLIBC_SCCS and not lint */
411.1Smsaitoh
421.1Smsaitoh#include "SYS.h"
431.1Smsaitoh
441.7SthorpejWSYSCALL(syscall,_syscall)
45