summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/vector.s
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-04-14 14:26:36 +0000
committerbde <bde@FreeBSD.org>1999-04-14 14:26:36 +0000
commit9a10a11b66e26366ada864a1edeada684470293b (patch)
tree3a8da958b77f97c012ad1400922dbf4e9b00b3c1 /sys/i386/isa/vector.s
parent4f58b315f5310677e623e6da86f7720169a5dc1d (diff)
downloadFreeBSD-src-9a10a11b66e26366ada864a1edeada684470293b.zip
FreeBSD-src-9a10a11b66e26366ada864a1edeada684470293b.tar.gz
Generate intrnames[] dynamically. This should be new-bus friendly.
Old version reviewed by: se
Diffstat (limited to 'sys/i386/isa/vector.s')
-rw-r--r--sys/i386/isa/vector.s20
1 files changed, 19 insertions, 1 deletions
diff --git a/sys/i386/isa/vector.s b/sys/i386/isa/vector.s
index 1fc5668..608f135 100644
--- a/sys/i386/isa/vector.s
+++ b/sys/i386/isa/vector.s
@@ -1,6 +1,6 @@
/*
* from: vector.s, 386BSD 0.1 unknown origin
- * $Id: vector.s,v 1.2 1997/05/24 17:05:26 smp Exp smp $
+ * $Id: vector.s,v 1.30 1997/05/26 17:58:27 fsmp Exp $
*/
/*
@@ -41,6 +41,24 @@ _intr_nesting_level:
.byte 0
.space 3
+/*
+ * Interrupt counters and names for export to vmstat(8) and friends.
+ *
+ * XXX this doesn't really belong here; everything except the labels
+ * for the endpointers is almost machine-independent.
+ */
+#define NR_INTRNAMES (1 + ICU_LEN + 2 * ICU_LEN)
+
+ .globl _intrcnt, _eintrcnt
+_intrcnt:
+ .space NR_INTRNAMES * 4
+_eintrcnt:
+
+ .globl _intrnames, _eintrnames
+_intrnames:
+ .space NR_INTRNAMES * 16
+_eintrnames:
+
.text
/*
OpenPOWER on IntegriCloud