1121622Smarcel/*-
266458Sdfr * Copyright (c) 1990 The Regents of the University of California.
366458Sdfr * All rights reserved.
466458Sdfr *
566458Sdfr * Redistribution and use in source and binary forms, with or without
666458Sdfr * modification, are permitted provided that the following conditions
766458Sdfr * are met:
866458Sdfr * 1. Redistributions of source code must retain the above copyright
966458Sdfr *    notice, this list of conditions and the following disclaimer.
1066458Sdfr * 2. Redistributions in binary form must reproduce the above copyright
1166458Sdfr *    notice, this list of conditions and the following disclaimer in the
1266458Sdfr *    documentation and/or other materials provided with the distribution.
13121622Smarcel * 3. Neither the name of the University nor the names of its contributors
14121622Smarcel *    may be used to endorse or promote products derived from this software
15121622Smarcel *    without specific prior written permission.
1666458Sdfr *
1766458Sdfr * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
1866458Sdfr * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1966458Sdfr * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2066458Sdfr * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2166458Sdfr * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2266458Sdfr * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2366458Sdfr * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2466458Sdfr * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2566458Sdfr * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2666458Sdfr * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2766458Sdfr * SUCH DAMAGE.
2866458Sdfr */
2966458Sdfr
30121600Smarcel#include <sys/cdefs.h>
31121600Smarcel__FBSDID("$FreeBSD$");
32121600Smarcel
3366458Sdfr#include <sys/param.h>
3466458Sdfr#include <sys/systm.h>
3566458Sdfr#include <sys/sysproto.h>
3666458Sdfr#include <sys/sysent.h>
3766458Sdfr
38201269Smarcel#include <machine/bus.h>
3966458Sdfr#include <machine/cpu.h>
4066458Sdfr#include <machine/sysarch.h>
4166458Sdfr
4266458Sdfr#ifndef _SYS_SYSPROTO_H_
4366458Sdfrstruct sysarch_args {
4466458Sdfr	int op;
4566458Sdfr	char *parms;
4666458Sdfr};
4766458Sdfr#endif
4866458Sdfr
4966458Sdfrint
50121600Smarcelsysarch(struct thread *td, struct sysarch_args *uap)
5166458Sdfr{
52114029Sjhb	int error;
5366458Sdfr
54107849Salfred	switch(uap->op) {
5566458Sdfr	default:
5666458Sdfr		error = EINVAL;
5766458Sdfr		break;
5866458Sdfr	}
5966458Sdfr	return (error);
6066458Sdfr}
61