xref: /netbsd-src/sys/arch/powerpc/powerpc/sys_machdep.c (revision 1a61b7e897bae1a66a1db07433f1a66bf8ee2975)
1*1a61b7e8Smatt /*	$NetBSD: sys_machdep.c,v 1.13 2011/04/07 02:04:07 matt Exp $	*/
25804d3f6Sws 
35804d3f6Sws /*
45804d3f6Sws  * Copyright (C) 1996 Wolfgang Solfrank.
55804d3f6Sws  * Copyright (C) 1996 TooLs GmbH.
65804d3f6Sws  * All rights reserved.
75804d3f6Sws  *
85804d3f6Sws  * Redistribution and use in source and binary forms, with or without
95804d3f6Sws  * modification, are permitted provided that the following conditions
105804d3f6Sws  * are met:
115804d3f6Sws  * 1. Redistributions of source code must retain the above copyright
125804d3f6Sws  *    notice, this list of conditions and the following disclaimer.
135804d3f6Sws  * 2. Redistributions in binary form must reproduce the above copyright
145804d3f6Sws  *    notice, this list of conditions and the following disclaimer in the
155804d3f6Sws  *    documentation and/or other materials provided with the distribution.
165804d3f6Sws  * 3. All advertising materials mentioning features or use of this software
175804d3f6Sws  *    must display the following acknowledgement:
185804d3f6Sws  *	This product includes software developed by TooLs GmbH.
195804d3f6Sws  * 4. The name of TooLs GmbH may not be used to endorse or promote products
205804d3f6Sws  *    derived from this software without specific prior written permission.
215804d3f6Sws  *
225804d3f6Sws  * THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR
235804d3f6Sws  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
245804d3f6Sws  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
255804d3f6Sws  * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
265804d3f6Sws  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
275804d3f6Sws  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
285804d3f6Sws  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
295804d3f6Sws  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
305804d3f6Sws  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
315804d3f6Sws  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
325804d3f6Sws  */
335804d3f6Sws 
34ed517291Slukem #include <sys/cdefs.h>
35*1a61b7e8Smatt __KERNEL_RCSID(0, "$NetBSD: sys_machdep.c,v 1.13 2011/04/07 02:04:07 matt Exp $");
36ed517291Slukem 
375804d3f6Sws #include <sys/param.h>
385804d3f6Sws 
394d8e50f1Skleink #include <sys/mount.h>
404d8e50f1Skleink #include <sys/syscallargs.h>
418b4d79c2Schs #include <sys/cpu.h>
428b4d79c2Schs 
438b4d79c2Schs #include <uvm/uvm_extern.h>
444d8e50f1Skleink 
455804d3f6Sws int
sys_sysarch(struct lwp * l,const struct sys_sysarch_args * uap,register_t * retval)4635e44a26Sdsl sys_sysarch(struct lwp *l, const struct sys_sysarch_args *uap, register_t *retval)
475804d3f6Sws {
485804d3f6Sws 	/*
495804d3f6Sws 	 * Currently no special system calls
505804d3f6Sws 	 */
511ed8ea99Sperry 	return (ENOSYS);
525804d3f6Sws }
53