xref: /netbsd/sys/arch/sun2/sun2/sys_machdep.c (revision 7e2790cf)
1*7e2790cfSdsl /*	$NetBSD: sys_machdep.c,v 1.8 2007/12/20 23:02:43 dsl Exp $	*/
2ec984a04Sfredette 
3ec984a04Sfredette /*
4ec984a04Sfredette  * Copyright (c) 1982, 1986, 1993
5ec984a04Sfredette  *	The Regents of the University of California.  All rights reserved.
6ec984a04Sfredette  *
7ec984a04Sfredette  * Redistribution and use in source and binary forms, with or without
8ec984a04Sfredette  * modification, are permitted provided that the following conditions
9ec984a04Sfredette  * are met:
10ec984a04Sfredette  * 1. Redistributions of source code must retain the above copyright
11ec984a04Sfredette  *    notice, this list of conditions and the following disclaimer.
12ec984a04Sfredette  * 2. Redistributions in binary form must reproduce the above copyright
13ec984a04Sfredette  *    notice, this list of conditions and the following disclaimer in the
14ec984a04Sfredette  *    documentation and/or other materials provided with the distribution.
15aad01611Sagc  * 3. Neither the name of the University nor the names of its contributors
16ec984a04Sfredette  *    may be used to endorse or promote products derived from this software
17ec984a04Sfredette  *    without specific prior written permission.
18ec984a04Sfredette  *
19ec984a04Sfredette  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20ec984a04Sfredette  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21ec984a04Sfredette  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22ec984a04Sfredette  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23ec984a04Sfredette  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24ec984a04Sfredette  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25ec984a04Sfredette  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26ec984a04Sfredette  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27ec984a04Sfredette  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28ec984a04Sfredette  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29ec984a04Sfredette  * SUCH DAMAGE.
30ec984a04Sfredette  *
31ec984a04Sfredette  *	@(#)sys_machdep.c	8.2 (Berkeley) 1/13/94
32ec984a04Sfredette  */
33ec984a04Sfredette 
34ed517291Slukem #include <sys/cdefs.h>
35*7e2790cfSdsl __KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.8 2007/12/20 23:02:43 dsl Exp $");
36ed517291Slukem 
37ec984a04Sfredette #include <sys/param.h>
38ec984a04Sfredette #include <sys/systm.h>
39ec984a04Sfredette #include <sys/ioctl.h>
40ec984a04Sfredette #include <sys/file.h>
41ec984a04Sfredette #include <sys/time.h>
42ec984a04Sfredette #include <sys/proc.h>
43ec984a04Sfredette #include <sys/uio.h>
44ec984a04Sfredette #include <sys/kernel.h>
45ec984a04Sfredette #include <sys/buf.h>
46ec984a04Sfredette #include <sys/mount.h>
47ec984a04Sfredette #include <sys/syscallargs.h>
48ec984a04Sfredette 
49ec984a04Sfredette #include <uvm/uvm_extern.h>
50ec984a04Sfredette 
51ec984a04Sfredette #include <machine/cpu.h>
52ec984a04Sfredette #include <sun2/sun2/machdep.h>
53ec984a04Sfredette 
54ec984a04Sfredette int
sys_sysarch(struct lwp * l,const struct sys_sysarch_args * uap,register_t * retval)55*7e2790cfSdsl sys_sysarch(struct lwp *l, const struct sys_sysarch_args *uap, register_t *retval)
56ec984a04Sfredette {
57*7e2790cfSdsl 	/* {
58ec984a04Sfredette 		syscallarg(int) op;
59ec984a04Sfredette 		syscallarg(void *) parms;
60*7e2790cfSdsl 	} */
61ec984a04Sfredette 
62ec984a04Sfredette 	(void)uap->op;	/* kill warning */
63ec984a04Sfredette 	return (ENOSYS);
64ec984a04Sfredette }
65