xref: /netbsd-src/sys/arch/hp300/include/hil_machdep.h (revision 9b6bd2d968e3623e57a9a376b7fc0ae125709789)
1b04b7da8Stsutsui /*	$OpenBSD: hil_machdep.h,v 1.1 2005/01/14 22:39:29 miod Exp $	*/
2b04b7da8Stsutsui 
3b04b7da8Stsutsui /*
4b04b7da8Stsutsui  * Copyright (c) 1988 University of Utah.
5b04b7da8Stsutsui  * Copyright (c) 1990, 1993
6b04b7da8Stsutsui  *	The Regents of the University of California.  All rights reserved.
7b04b7da8Stsutsui  *
8b04b7da8Stsutsui  * This code is derived from software contributed to Berkeley by
9b04b7da8Stsutsui  * the Systems Programming Group of the University of Utah Computer
10b04b7da8Stsutsui  * Science Department.
11b04b7da8Stsutsui  *
12b04b7da8Stsutsui  * Redistribution and use in source and binary forms, with or without
13b04b7da8Stsutsui  * modification, are permitted provided that the following conditions
14b04b7da8Stsutsui  * are met:
15b04b7da8Stsutsui  * 1. Redistributions of source code must retain the above copyright
16b04b7da8Stsutsui  *    notice, this list of conditions and the following disclaimer.
17b04b7da8Stsutsui  * 2. Redistributions in binary form must reproduce the above copyright
18b04b7da8Stsutsui  *    notice, this list of conditions and the following disclaimer in the
19b04b7da8Stsutsui  *    documentation and/or other materials provided with the distribution.
20*9b6bd2d9Srmind  * 3. Neither the name of the University nor the names of its contributors
21b04b7da8Stsutsui  *    may be used to endorse or promote products derived from this software
22b04b7da8Stsutsui  *    without specific prior written permission.
23b04b7da8Stsutsui  *
24b04b7da8Stsutsui  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
25b04b7da8Stsutsui  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26b04b7da8Stsutsui  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
27b04b7da8Stsutsui  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
28b04b7da8Stsutsui  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
29b04b7da8Stsutsui  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30b04b7da8Stsutsui  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31b04b7da8Stsutsui  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32b04b7da8Stsutsui  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33b04b7da8Stsutsui  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34b04b7da8Stsutsui  * SUCH DAMAGE.
35b04b7da8Stsutsui  *
36b04b7da8Stsutsui  * from: Utah $Hdr: hilreg.h 1.10 92/01/21$
37b04b7da8Stsutsui  *
38b04b7da8Stsutsui  *	@(#)hilreg.h	8.1 (Berkeley) 6/10/93
39b04b7da8Stsutsui  */
40b04b7da8Stsutsui 
41b04b7da8Stsutsui /*
42b04b7da8Stsutsui  * HP 9000/300-series specific HIL definitions
43b04b7da8Stsutsui  */
44b04b7da8Stsutsui 
45b04b7da8Stsutsui #define	HILP_DATA	1	/* (R/W) data port */
46b04b7da8Stsutsui #define	HILP_CMD	3	/* (R/W) status and control port */
47b04b7da8Stsutsui #define	HILP_STAT	HILP_CMD
48b04b7da8Stsutsui 
49b04b7da8Stsutsui #define	HILBUFSIZE	40	/* size of interrupt poll buffer */
50b04b7da8Stsutsui 
51b04b7da8Stsutsui #define	HILMAPSIZE	4
52