summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/icu.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-12-26 12:43:47 +0000
committerbde <bde@FreeBSD.org>1999-12-26 12:43:47 +0000
commit2f7307b35f8aaa38b119fa8cf667cdf4d3cc5ce5 (patch)
treeb4c5aa159c2c085f6ae491cd305a2a80b3de25e0 /sys/i386/isa/icu.h
parent6435e2560e3103a14a4e67820a4c1f45a5b99be1 (diff)
downloadFreeBSD-src-2f7307b35f8aaa38b119fa8cf667cdf4d3cc5ce5.zip
FreeBSD-src-2f7307b35f8aaa38b119fa8cf667cdf4d3cc5ce5.tar.gz
Replaced the INTRMASK and INTRUNMASK macros by "|" and "&~" operations.
Some interface botches went away, leaving the macros unused outside of the implementation of interrupt masking, and it was silly for the implementation to use the macros in only one place each.
Diffstat (limited to 'sys/i386/isa/icu.h')
-rw-r--r--sys/i386/isa/icu.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/i386/isa/icu.h b/sys/i386/isa/icu.h
index 14e8d14..ed3a879 100644
--- a/sys/i386/isa/icu.h
+++ b/sys/i386/isa/icu.h
@@ -60,8 +60,6 @@
void INTREN __P((u_int));
void INTRDIS __P((u_int));
-#define INTRMASK(msk,s) (msk |= (s))
-#define INTRUNMASK(msk,s) (msk &= ~(s))
#else /* APIC_IO */
@@ -72,8 +70,6 @@ extern unsigned imen; /* interrupt mask enable */
#define INTREN(s) (imen &= ~(s), SET_ICUS())
#define INTRDIS(s) (imen |= (s), SET_ICUS())
-#define INTRMASK(msk,s) (msk |= (s))
-#define INTRUNMASK(msk,s) (msk &= ~(s))
#if 0
#ifdef PC98
OpenPOWER on IntegriCloud