sysarch.h revision 124296
1121622Smarcel/*-
266458Sdfr * Copyright (c) 1993 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 * $FreeBSD: head/sys/ia64/include/sysarch.h 124296 2004-01-09 16:52:09Z nectar $
3066458Sdfr */
3166458Sdfr
3266458Sdfr#ifndef _MACHINE_SYSARCH_H_
33121600Smarcel#define	_MACHINE_SYSARCH_H_
3466458Sdfr
35121600Smarcel#define	IA64_IORD	0
36121600Smarcel#define	IA64_IOWR	1
37121600Smarcel
38121600Smarcelstruct ia64_iodesc {
39121600Smarcel	int port;
40121600Smarcel	int width;
41121600Smarcel	unsigned long val;
42121600Smarcel};
43121600Smarcel
4466458Sdfr#ifndef _KERNEL
4566458Sdfr#include <sys/cdefs.h>
4666458Sdfr
4766458Sdfr__BEGIN_DECLS
48124296Snectarint	sysarch(int, void *);
4966458Sdfr__END_DECLS
5066458Sdfr#endif
5166458Sdfr
5266458Sdfr#endif /* !_MACHINE_SYSARCH_H_ */
53