133180Sjdp/*-
233180Sjdp * Copyright (c) 1990 The Regents of the University of California.
333180Sjdp * All rights reserved.
433180Sjdp *
533180Sjdp * Redistribution and use in source and binary forms, with or without
633180Sjdp * modification, are permitted provided that the following conditions
733180Sjdp * are met:
833180Sjdp * 1. Redistributions of source code must retain the above copyright
933180Sjdp *    notice, this list of conditions and the following disclaimer.
1033180Sjdp * 2. Redistributions in binary form must reproduce the above copyright
1133180Sjdp *    notice, this list of conditions and the following disclaimer in the
1233180Sjdp *    documentation and/or other materials provided with the distribution.
1333180Sjdp * 3. Neither the name of the University nor the names of its contributors
1433180Sjdp *    may be used to endorse or promote products derived from this software
1533180Sjdp *    without specific prior written permission.
1633180Sjdp *
1733180Sjdp * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1833180Sjdp * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1933180Sjdp * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2033180Sjdp * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2133180Sjdp * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2233180Sjdp * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2333180Sjdp * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2433180Sjdp * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2533180Sjdp * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2633180Sjdp * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2733180Sjdp * SUCH DAMAGE.
2833180Sjdp */
2933180Sjdp
3033180Sjdp#include <sys/cdefs.h>
3133180Sjdp__FBSDID("$FreeBSD$");
3233180Sjdp
3333180Sjdp#include <sys/param.h>
3433180Sjdp#include <sys/systm.h>
3533180Sjdp#include <sys/sysproto.h>
3633180Sjdp#include <sys/sysent.h>
3733180Sjdp
3833180Sjdp#include <machine/bus.h>
3933180Sjdp#include <machine/cpu.h>
4033180Sjdp#include <machine/sysarch.h>
4133180Sjdp
4233180Sjdp#ifndef _SYS_SYSPROTO_H_
4333180Sjdpstruct sysarch_args {
4433180Sjdp	int op;
4533180Sjdp	char *parms;
4633180Sjdp};
4733180Sjdp#endif
4833180Sjdp
4933180Sjdpint
5033180Sjdpsysarch(struct thread *td, struct sysarch_args *uap)
5133180Sjdp{
5233180Sjdp	int error;
5333180Sjdp
5433180Sjdp	switch(uap->op) {
5533180Sjdp	default:
5633180Sjdp		error = EINVAL;
5733180Sjdp		break;
5833180Sjdp	}
5933180Sjdp	return (error);
6033180Sjdp}
6133180Sjdp