summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-11-03 21:28:54 +0000
committerjhb <jhb@FreeBSD.org>2003-11-03 21:28:54 +0000
commit2971f930e6d20ac5521bf4e4d90e770b380e097d (patch)
tree20e3e309363e0b6d554f9c32d63d5f50b081ec5e
parentd85aa501e2afbaac69438870bfcce9fc0d42cb75 (diff)
downloadFreeBSD-src-2971f930e6d20ac5521bf4e4d90e770b380e097d.zip
FreeBSD-src-2971f930e6d20ac5521bf4e4d90e770b380e097d.tar.gz
Allocate space for the intrcnt array. This array is managed in the
interrupt code layer as interrupt sources are added and handlers added to those sources.
-rw-r--r--sys/i386/i386/support.s11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys/i386/i386/support.s b/sys/i386/i386/support.s
index a55cc93..89d0702 100644
--- a/sys/i386/i386/support.s
+++ b/sys/i386/i386/support.s
@@ -37,6 +37,7 @@
#include <machine/asmacros.h>
#include <machine/cputypes.h>
+#include <machine/intr_machdep.h>
#include <machine/pmap.h>
#include <machine/specialreg.h>
@@ -62,6 +63,16 @@ kernel_fpu_lock:
.byte 0xfe
.space 3
#endif
+ ALIGN_DATA
+ .globl intrcnt, eintrcnt
+intrcnt:
+ .space INTRCNT_COUNT * 4
+eintrcnt:
+
+ .globl intrnames, eintrnames
+intrnames:
+ .space INTRCNT_COUNT * (MAXCOMLEN + 1)
+eintrnames:
.text
OpenPOWER on IntegriCloud