| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | /* $NetBSD: grfabs_cc.c,v 1.38 2023/01/23 21:22:44 andvar Exp $ */ | | 1 | /* $NetBSD: grfabs_cc.c,v 1.39 2023/07/12 05:16:42 mlelstv Exp $ */ |
2 | | | 2 | |
3 | /* | | 3 | /* |
4 | * Copyright (c) 1994 Christian E. Hopps | | 4 | * Copyright (c) 1994 Christian E. Hopps |
5 | * All rights reserved. | | 5 | * All rights reserved. |
6 | * | | 6 | * |
7 | * Redistribution and use in source and binary forms, with or without | | 7 | * Redistribution and use in source and binary forms, with or without |
8 | * modification, are permitted provided that the following conditions | | 8 | * modification, are permitted provided that the following conditions |
9 | * are met: | | 9 | * are met: |
10 | * 1. Redistributions of source code must retain the above copyright | | 10 | * 1. Redistributions of source code must retain the above copyright |
11 | * notice, this list of conditions and the following disclaimer. | | 11 | * notice, this list of conditions and the following disclaimer. |
12 | * 2. Redistributions in binary form must reproduce the above copyright | | 12 | * 2. Redistributions in binary form must reproduce the above copyright |
13 | * notice, this list of conditions and the following disclaimer in the | | 13 | * notice, this list of conditions and the following disclaimer in the |
14 | * documentation and/or other materials provided with the distribution. | | 14 | * documentation and/or other materials provided with the distribution. |
| @@ -28,32 +28,33 @@ | | | @@ -28,32 +28,33 @@ |
28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | | 28 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | | 29 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
30 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | | 30 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
31 | */ | | 31 | */ |
32 | | | 32 | |
33 | /* | | 33 | /* |
34 | * abstract interface for custom chips to the amiga abstract graphics driver. | | 34 | * abstract interface for custom chips to the amiga abstract graphics driver. |
35 | * | | 35 | * |
36 | */ | | 36 | */ |
37 | | | 37 | |
38 | #include "opt_amigaccgrf.h" | | 38 | #include "opt_amigaccgrf.h" |
39 | | | 39 | |
40 | #include <sys/cdefs.h> | | 40 | #include <sys/cdefs.h> |
41 | __KERNEL_RCSID(0, "$NetBSD: grfabs_cc.c,v 1.38 2023/01/23 21:22:44 andvar Exp $"); | | 41 | __KERNEL_RCSID(0, "$NetBSD: grfabs_cc.c,v 1.39 2023/07/12 05:16:42 mlelstv Exp $"); |
42 | | | 42 | |
43 | #include <sys/param.h> | | 43 | #include <sys/param.h> |
44 | #include <sys/systm.h> | | 44 | #include <sys/systm.h> |
45 | #include <sys/errno.h> | | 45 | #include <sys/errno.h> |
46 | #include <sys/queue.h> | | 46 | #include <sys/queue.h> |
| | | 47 | #include <sys/intr.h> |
47 | | | 48 | |
48 | #include <amiga/amiga/custom.h> | | 49 | #include <amiga/amiga/custom.h> |
49 | #include <amiga/amiga/cc.h> | | 50 | #include <amiga/amiga/cc.h> |
50 | | | 51 | |
51 | #include <amiga/dev/grfabs_reg.h> | | 52 | #include <amiga/dev/grfabs_reg.h> |
52 | #include <amiga/dev/grfabs_ccreg.h> | | 53 | #include <amiga/dev/grfabs_ccreg.h> |
53 | | | 54 | |
54 | monitor_t *m_this; | | 55 | monitor_t *m_this; |
55 | mdata_t *m_this_data; | | 56 | mdata_t *m_this_data; |
56 | const char *monitor_name = "CCMONITOR"; | | 57 | const char *monitor_name = "CCMONITOR"; |
57 | monitor_t monitor; | | 58 | monitor_t monitor; |
58 | mdata_t monitor_data; | | 59 | mdata_t monitor_data; |
59 | cop_t *null_mode_copper_list; | | 60 | cop_t *null_mode_copper_list; |