xref: /netbsd-src/sys/arch/usermode/usermode/sys_machdep.c (revision 176f5f951dd6c54e865ff09883021ce5dddbed9d)
1*176f5f95Ssnj /* $NetBSD: sys_machdep.c,v 1.2 2009/10/21 16:07:00 snj Exp $ */
238365ca3Sjmcneill 
338365ca3Sjmcneill /*-
438365ca3Sjmcneill  * Copyright (c) 2007 Jared D. McNeill <jmcneill@invisible.ca>
538365ca3Sjmcneill  * All rights reserved.
638365ca3Sjmcneill  *
738365ca3Sjmcneill  * Redistribution and use in source and binary forms, with or without
838365ca3Sjmcneill  * modification, are permitted provided that the following conditions
938365ca3Sjmcneill  * are met:
1038365ca3Sjmcneill  * 1. Redistributions of source code must retain the above copyright
1138365ca3Sjmcneill  *    notice, this list of conditions and the following disclaimer.
1238365ca3Sjmcneill  * 2. Redistributions in binary form must reproduce the above copyright
1338365ca3Sjmcneill  *    notice, this list of conditions and the following disclaimer in the
1438365ca3Sjmcneill  *    documentation and/or other materials provided with the distribution.
1538365ca3Sjmcneill  *
1638365ca3Sjmcneill  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
1738365ca3Sjmcneill  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
1838365ca3Sjmcneill  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1938365ca3Sjmcneill  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
2038365ca3Sjmcneill  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2138365ca3Sjmcneill  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2238365ca3Sjmcneill  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2338365ca3Sjmcneill  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2438365ca3Sjmcneill  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2538365ca3Sjmcneill  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2638365ca3Sjmcneill  * POSSIBILITY OF SUCH DAMAGE.
2738365ca3Sjmcneill  */
2838365ca3Sjmcneill 
2938365ca3Sjmcneill #include <sys/cdefs.h>
30*176f5f95Ssnj __KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.2 2009/10/21 16:07:00 snj Exp $");
3138365ca3Sjmcneill 
3238365ca3Sjmcneill #include <sys/types.h>
3338365ca3Sjmcneill #include <sys/param.h>
3438365ca3Sjmcneill #include <sys/systm.h>
3538365ca3Sjmcneill #include <sys/proc.h>
3638365ca3Sjmcneill #include <sys/syscallargs.h>
3738365ca3Sjmcneill 
3838365ca3Sjmcneill int
sys_sysarch(struct lwp * l,const struct sys_sysarch_args * uap,register_t * rv)3938365ca3Sjmcneill sys_sysarch(struct lwp *l, const struct sys_sysarch_args *uap, register_t *rv)
4038365ca3Sjmcneill {
4138365ca3Sjmcneill 	return EINVAL;
4238365ca3Sjmcneill }
43