xref: /netbsd-src/sys/arch/hpcmips/vr/vr.h (revision 961880b501251313c03669ac25fffac16e48ed08)
1*961880b5Such /*	$NetBSD: vr.h,v 1.4 2001/09/16 05:32:21 uch Exp $	*/
2db2b0adeStakemura 
3db2b0adeStakemura /*-
4db2b0adeStakemura  * Copyright (c) 1999
5db2b0adeStakemura  *         Shin Takemura and PocketBSD Project. All rights reserved.
6db2b0adeStakemura  *
7db2b0adeStakemura  * Redistribution and use in source and binary forms, with or without
8db2b0adeStakemura  * modification, are permitted provided that the following conditions
9db2b0adeStakemura  * are met:
10db2b0adeStakemura  * 1. Redistributions of source code must retain the above copyright
11db2b0adeStakemura  *    notice, this list of conditions and the following disclaimer.
12db2b0adeStakemura  * 2. Redistributions in binary form must reproduce the above copyright
13db2b0adeStakemura  *    notice, this list of conditions and the following disclaimer in the
14db2b0adeStakemura  *    documentation and/or other materials provided with the distribution.
15db2b0adeStakemura  * 3. All advertising materials mentioning features or use of this software
16db2b0adeStakemura  *    must display the following acknowledgement:
17db2b0adeStakemura  *	This product includes software developed by the PocketBSD project
18db2b0adeStakemura  *	and its contributors.
19db2b0adeStakemura  * 4. Neither the name of the project nor the names of its contributors
20db2b0adeStakemura  *    may be used to endorse or promote products derived from this software
21db2b0adeStakemura  *    without specific prior written permission.
22db2b0adeStakemura  *
23db2b0adeStakemura  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24db2b0adeStakemura  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25db2b0adeStakemura  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26db2b0adeStakemura  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27db2b0adeStakemura  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28db2b0adeStakemura  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29db2b0adeStakemura  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30db2b0adeStakemura  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31db2b0adeStakemura  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32db2b0adeStakemura  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33db2b0adeStakemura  * SUCH DAMAGE.
34db2b0adeStakemura  *
35db2b0adeStakemura  */
36db2b0adeStakemura 
37*961880b5Such void *vr_intr_establish(int, int (*)(void *, u_int32_t, u_int32_t), void *);
38*961880b5Such void vr_intr_disestablish(void *);
39db2b0adeStakemura 
40db2b0adeStakemura #define VR_INTR0	0
41db2b0adeStakemura #define VR_INTR1	1
42db2b0adeStakemura #define VR_INTR2	2
43db2b0adeStakemura #define VR_INTR3	3
44