| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: intr.h,v 1.13 2010/12/05 12:19:09 skrll Exp $ */ | | 1 | /* $NetBSD: intr.h,v 1.14 2011/01/20 19:43:16 skrll Exp $ */ |
2 | | | 2 | |
3 | /*- | | 3 | /*- |
4 | * Copyright (c) 2002 The NetBSD Foundation, Inc. | | 4 | * Copyright (c) 2002 The NetBSD Foundation, Inc. |
5 | * All rights reserved. | | 5 | * All rights reserved. |
6 | * | | 6 | * |
7 | * This code is derived from software contributed to The NetBSD Foundation | | 7 | * This code is derived from software contributed to The NetBSD Foundation |
8 | * by Matthew Fredette. | | 8 | * by Matthew Fredette. |
9 | * | | 9 | * |
10 | * Redistribution and use in source and binary forms, with or without | | 10 | * Redistribution and use in source and binary forms, with or without |
11 | * modification, are permitted provided that the following conditions | | 11 | * modification, are permitted provided that the following conditions |
12 | * are met: | | 12 | * are met: |
13 | * 1. Redistributions of source code must retain the above copyright | | 13 | * 1. Redistributions of source code must retain the above copyright |
14 | * notice, this list of conditions and the following disclaimer. | | 14 | * notice, this list of conditions and the following disclaimer. |
| @@ -25,27 +25,27 @@ | | | @@ -25,27 +25,27 @@ |
25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | | 25 | * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | | 26 | * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 27 | * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 28 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
29 | * POSSIBILITY OF SUCH DAMAGE. | | 29 | * POSSIBILITY OF SUCH DAMAGE. |
30 | */ | | 30 | */ |
31 | | | 31 | |
32 | /* | | 32 | /* |
33 | * The maximum number of bits in a cpl value/spl mask, | | 33 | * The maximum number of bits in a cpl value/spl mask, |
34 | * the maximum number of bits in an interrupt request register, | | 34 | * the maximum number of bits in an interrupt request register, |
35 | * and the maximum number of interrupt registers. | | 35 | * and the maximum number of interrupt registers. |
36 | */ | | 36 | */ |
37 | #define HP700_INT_BITS (32) | | 37 | #define HP700_INT_BITS (32) |
38 | #define CPU_NINTS HP700_INT_BITS /* Use this one */ | | 38 | #define CPU_NINTS HP700_INT_BITS /* Use this one */ |
39 | | | 39 | |
40 | /* | | 40 | /* |
41 | * This describes one HP700 interrupt register. | | 41 | * This describes one HP700 interrupt register. |
42 | */ | | 42 | */ |
43 | struct hp700_int_reg { | | 43 | struct hp700_int_reg { |
44 | | | 44 | |
45 | /* | | 45 | /* |
46 | * The device name for this interrupt register. | | 46 | * The device name for this interrupt register. |
47 | */ | | 47 | */ |
48 | const char *int_reg_name; | | 48 | const char *int_reg_name; |
49 | | | 49 | |
50 | /* | | 50 | /* |
51 | * The virtual address of the mask, request and level | | 51 | * The virtual address of the mask, request and level |