summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-05-15 23:11:48 +0000
committerjhb <jhb@FreeBSD.org>2001-05-15 23:11:48 +0000
commitb5845858e63130ea0deceb47fe1edf06c9ffd3fe (patch)
treeed83c94947982f39b4444cc44ea8a8eadc5172bc /sys/i386
parent483590640b46a4405c886aeb9980920f5a75acd1 (diff)
downloadFreeBSD-src-b5845858e63130ea0deceb47fe1edf06c9ffd3fe.zip
FreeBSD-src-b5845858e63130ea0deceb47fe1edf06c9ffd3fe.tar.gz
Move the definition of HWI_MASK to the i386/isa/icu.h header right next to
the definition of ICU_LEN.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/isa/icu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/isa/icu.h b/sys/i386/isa/icu.h
index 6423551..1c87d3f 100644
--- a/sys/i386/isa/icu.h
+++ b/sys/i386/isa/icu.h
@@ -118,10 +118,12 @@ extern unsigned imen; /* interrupt mask enable */
/* 32-47: ISA IRQ0-IRQ15, 48-55: IO APIC IRQ16-IRQ31 */
#define ICU_LEN 32
+#define HWI_MASK 0xffffffff /* bits for h/w interrupts */
#else
#define ICU_LEN 16 /* 32-47 are ISA interrupts */
+#define HWI_MASK 0xffff /* bits for h/w interrupts */
#endif /* APIC_IO */
OpenPOWER on IntegriCloud