xref: /netbsd-src/sys/arch/hpcmips/include/intr.h (revision 0351e901007745b730a1c0503d13cc86384301b3)
1*0351e901Smatt /*	$NetBSD: intr.h,v 1.23 2011/02/20 07:58:14 matt Exp $	*/
2db2b0adeStakemura 
3db2b0adeStakemura /*
4db2b0adeStakemura  * Copyright (c) 1998 Jonathan Stone.  All rights reserved.
5db2b0adeStakemura  *
6db2b0adeStakemura  * Redistribution and use in source and binary forms, with or without
7db2b0adeStakemura  * modification, are permitted provided that the following conditions
8db2b0adeStakemura  * are met:
9db2b0adeStakemura  * 1. Redistributions of source code must retain the above copyright
10db2b0adeStakemura  *    notice, this list of conditions and the following disclaimer.
11db2b0adeStakemura  * 2. Redistributions in binary form must reproduce the above copyright
12db2b0adeStakemura  *    notice, this list of conditions and the following disclaimer in the
13db2b0adeStakemura  *    documentation and/or other materials provided with the distribution.
14db2b0adeStakemura  * 3. All advertising materials mentioning features or use of this software
15db2b0adeStakemura  *    must display the following acknowledgement:
16db2b0adeStakemura  *	This product includes software developed by Jonathan Stone for
17db2b0adeStakemura  *      the NetBSD Project.
18db2b0adeStakemura  * 4. The name of the author may not be used to endorse or promote products
19db2b0adeStakemura  *    derived from this software without specific prior written permission.
20db2b0adeStakemura  *
21db2b0adeStakemura  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
22db2b0adeStakemura  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
23db2b0adeStakemura  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
24db2b0adeStakemura  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
25db2b0adeStakemura  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26db2b0adeStakemura  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27db2b0adeStakemura  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28db2b0adeStakemura  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29db2b0adeStakemura  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30db2b0adeStakemura  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31db2b0adeStakemura  */
32db2b0adeStakemura 
33db2b0adeStakemura #ifndef _HPCMIPS_INTR_H_
34db2b0adeStakemura #define _HPCMIPS_INTR_H_
35db2b0adeStakemura 
36*0351e901Smatt #include <mips/intr.h>
37db2b0adeStakemura 
38db2b0adeStakemura #ifdef _KERNEL
39db2b0adeStakemura #ifndef _LOCORE
403df61fa9Senami 
4180d8d09cSuch void	intr_init(void);
42db2b0adeStakemura 
43*0351e901Smatt #ifdef __INTR_PRIVATE
44*0351e901Smatt extern const struct ipl_sr_map __ipl_sr_map_vr;
45*0351e901Smatt extern const struct ipl_sr_map __ipl_sr_map_tx;
46*0351e901Smatt #endif
478bf76628Syamt 
48db2b0adeStakemura #endif /* !_LOCORE */
49db2b0adeStakemura #endif /* _KERNEL */
50db2b0adeStakemura 
51db2b0adeStakemura #endif /* !_HPCMIPS_INTR_H_ */
52