xref: /netbsd-src/sys/arch/sgimips/dev/crimevar.h (revision f0b7a070f3b572d4414e4728a9ad4b8d617d1d17)
1*f0b7a070Smacallan /*	$NetBSD: crimevar.h,v 1.9 2011/08/18 02:56:21 macallan Exp $	*/
2b0cd3c80Stsutsui 
3b0cd3c80Stsutsui /*
4b0cd3c80Stsutsui  * Copyright (c) 2003 Christopher SEKIYA
5b0cd3c80Stsutsui  * All rights reserved.
6b0cd3c80Stsutsui  *
7b0cd3c80Stsutsui  * Redistribution and use in source and binary forms, with or without
8b0cd3c80Stsutsui  * modification, are permitted provided that the following conditions
9b0cd3c80Stsutsui  * are met:
10b0cd3c80Stsutsui  * 1. Redistributions of source code must retain the above copyright
11b0cd3c80Stsutsui  *    notice, this list of conditions and the following disclaimer.
12b0cd3c80Stsutsui  * 2. Redistributions in binary form must reproduce the above copyright
13b0cd3c80Stsutsui  *    notice, this list of conditions and the following disclaimer in the
14b0cd3c80Stsutsui  *    documentation and/or other materials provided with the distribution.
15b0cd3c80Stsutsui  * 3. All advertising materials mentioning features or use of this software
16b0cd3c80Stsutsui  *    must display the following acknowledgement:
17b0cd3c80Stsutsui  *          This product includes software developed for the
1807147999Skeihan  *          NetBSD Project.  See http://www.NetBSD.org/ for
19b0cd3c80Stsutsui  *          information about NetBSD.
20b0cd3c80Stsutsui  * 4. The name of the author may not be used to endorse or promote products
21b0cd3c80Stsutsui  *    derived from this software without specific prior written permission.
22b0cd3c80Stsutsui  *
23b0cd3c80Stsutsui  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
24b0cd3c80Stsutsui  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
25b0cd3c80Stsutsui  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
26b0cd3c80Stsutsui  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
27b0cd3c80Stsutsui  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
28b0cd3c80Stsutsui  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29b0cd3c80Stsutsui  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30b0cd3c80Stsutsui  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31b0cd3c80Stsutsui  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
32b0cd3c80Stsutsui  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33b0cd3c80Stsutsui  */
34b0cd3c80Stsutsui 
35cf10107dSdyoung #include <sys/bus.h>
36b0cd3c80Stsutsui 
37b0cd3c80Stsutsui struct crime_softc {
38*f0b7a070Smacallan 	device_t sc_dev;
39b0cd3c80Stsutsui };
40b0cd3c80Stsutsui 
41b0cd3c80Stsutsui void crime_intr_mask(unsigned int);
428590eac4Ssekiya void crime_intr_unmask(unsigned int);
43c65071e6Smacallan void crime_reboot(void);
44