summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/include
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>2001-02-12 08:16:26 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>2001-02-12 08:16:26 +0000
commit9a9ae5302e41f0879df7c11b4ff60352055c1807 (patch)
tree73db1c914ed4b22e7818bc89d08cc84dbeb2b5f8 /sys/arch/mvme88k/include
parent66350380586255bb69d50cd6b025c66c25b4cff5 (diff)
correct buginstat(), statclock now working for '188, systat vmstat now works,
serial driver for '188 working better.
Diffstat (limited to 'sys/arch/mvme88k/include')
-rw-r--r--sys/arch/mvme88k/include/psl.h33
1 files changed, 32 insertions, 1 deletions
diff --git a/sys/arch/mvme88k/include/psl.h b/sys/arch/mvme88k/include/psl.h
index 63f7ff51dc5..a8b9a652fb4 100644
--- a/sys/arch/mvme88k/include/psl.h
+++ b/sys/arch/mvme88k/include/psl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: psl.h,v 1.5 2000/07/06 15:25:04 ho Exp $ */
+/* $OpenBSD: psl.h,v 1.6 2001/02/12 08:16:23 smurph Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* All rights reserved.
@@ -45,6 +45,37 @@
#ifndef __M88K_M88100_PSL_H__
#define __M88K_M88100_PSL_H__
+/*
+ * INTERRUPT STAT levels. for 'systat vmstat'
+ * intrcnt and friends are defined in locore.S
+ * XXX smurph
+ */
+#ifndef _LOCORE
+
+#define M88K_NIRQ 12
+
+#define M88K_SPUR_IRQ 0
+#define M88K_LEVEL1_IRQ 1
+#define M88K_LEVEL2_IRQ 2
+#define M88K_LEVEL3_IRQ 3
+#define M88K_LEVEL4_IRQ 4
+#define M88K_LEVEL5_IRQ 5
+#define M88K_LEVEL6_IRQ 6
+#define M88K_LEVEL7_IRQ 7
+/*
+ * We keep track of these seperately, but
+ * they will be reflected with the above also.
+ */
+#define M88K_CLK_IRQ 8
+#define M88K_SCLK_IRQ 9
+#define M88K_PCLK_IRQ 10
+#define M88K_NMI_IRQ 11
+
+extern int intrcnt[M88K_NIRQ];
+
+#endif
+
+
/* needs major cleanup - XXX nivas */
#if 0