summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include/intrcnt.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/include/intrcnt.h')
-rw-r--r--sys/arch/alpha/include/intrcnt.h70
1 files changed, 63 insertions, 7 deletions
diff --git a/sys/arch/alpha/include/intrcnt.h b/sys/arch/alpha/include/intrcnt.h
index abf39d0fc9c..046db247e30 100644
--- a/sys/arch/alpha/include/intrcnt.h
+++ b/sys/arch/alpha/include/intrcnt.h
@@ -1,4 +1,31 @@
+/* $NetBSD: intrcnt.h,v 1.4.4.2 1996/06/05 03:42:24 cgd Exp $ */
+/*
+ * Copyright (c) 1995, 1996 Carnegie-Mellon University.
+ * All rights reserved.
+ *
+ * Author: Chris G. Demetriou
+ *
+ * Permission to use, copy, modify and distribute this software and
+ * its documentation is hereby granted, provided that both the copyright
+ * notice and this permission notice appear in all copies of the
+ * software, derivative works or modified versions, and any portions
+ * thereof, and that both notices appear in supporting documentation.
+ *
+ * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
+ * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
+ * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
+ *
+ * Carnegie Mellon requests users of this software to return to
+ *
+ * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
+ * School of Computer Science
+ * Carnegie Mellon University
+ * Pittsburgh PA 15213-3890
+ *
+ * any improvements or extensions that they make and grant Carnegie the
+ * rights to redistribute these changes.
+ */
#define INTRNAMES_DEFINITION \
/* 0x00 */ ASCIZ "clock"; \
@@ -49,20 +76,49 @@
ASCIZ "kn20aa irq 28"; \
ASCIZ "kn20aa irq 29"; \
ASCIZ "kn20aa irq 30"; \
-/* 0x30 */ ASCIZ "kn20aa irq 31";
+/* 0x30 */ ASCIZ "kn20aa irq 31"; \
+ ASCIZ "kn15 tc slot 0"; \
+ ASCIZ "kn15 tc slot 1"; \
+ ASCIZ "kn15 tc slot 2"; \
+ ASCIZ "kn15 tc slot 3"; \
+ ASCIZ "kn15 tc slot 4"; \
+ ASCIZ "kn15 tc slot 5"; \
+ ASCIZ "kn15 tcds"; \
+ ASCIZ "kn15 ioasic"; \
+ ASCIZ "kn15 sfb"; \
+ ASCIZ "kn16 tc slot 0"; \
+ ASCIZ "kn16 tc slot 1"; \
+ ASCIZ "kn16 tcds"; \
+ ASCIZ "kn16 ioasic"; \
+ ASCIZ "kn16 sfb"; \
+ ASCIZ "tcds esp 0"; \
+/* 0x40 */ ASCIZ "tcds esp 1"; \
+ ASCIZ "ioasic le"; \
+ ASCIZ "ioasic scc 0"; \
+ ASCIZ "ioasic scc 1"; \
+ ASCIZ "ioasic am79c30";
#define INTRCNT_DEFINITION \
/* 0x00 */ .quad 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; \
/* 0x10 */ .quad 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; \
/* 0x20 */ .quad 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; \
-/* 0x30 */ .quad 0;
+/* 0x30 */ .quad 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0; \
+/* 0x40 */ .quad 0, 0, 0, 0, 0;
#define INTRCNT_CLOCK 0
-#define INTRCNT_ISA_IRQ (INTRCNT_CLOCK + 1)
+#define INTRCNT_ISA_IRQ (INTRCNT_CLOCK + 1)
#define INTRCNT_ISA_IRQ_LEN 16
-#define INTRCNT_KN20AA_IRQ (INTRCNT_ISA_IRQ + INTRCNT_ISA_IRQ_LEN)
-#define INTRCNT_KN20AA_IRQ_LEN 32
+#define INTRCNT_KN20AA_IRQ (INTRCNT_ISA_IRQ + INTRCNT_ISA_IRQ_LEN)
+#define INTRCNT_KN20AA_IRQ_LEN 32
+#define INTRCNT_KN15 (INTRCNT_KN20AA_IRQ + INTRCNT_KN20AA_IRQ_LEN)
+#define INTRCNT_KN15_LEN 9
+#define INTRCNT_KN16 (INTRCNT_KN15 + INTRCNT_KN15_LEN)
+#define INTRCNT_KN16_LEN 5
+#define INTRCNT_TCDS (INTRCNT_KN16 + INTRCNT_KN16_LEN)
+#define INTRCNT_TCDS_LEN 2
+#define INTRCNT_IOASIC (INTRCNT_TCDS + INTRCNT_TCDS_LEN)
+#define INTRCNT_IOASIC_LEN 4
-#ifndef LOCORE
-extern long intrcnt[];
+#ifndef _LOCORE
+extern volatile long intrcnt[];
#endif