diff options
author | tegge <tegge@FreeBSD.org> | 1998-05-17 21:15:18 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 1998-05-17 21:15:18 +0000 |
commit | 08bf65546100f31be1d43d3fd360f86b73ed1b27 (patch) | |
tree | d6568a063962b560c3a3743b480b763fd9603752 /sys/i386/isa/nmi.c | |
parent | 6bd34752d5210f759fb7c5f285a7d62ad9ad3154 (diff) | |
download | FreeBSD-src-08bf65546100f31be1d43d3fd360f86b73ed1b27.zip FreeBSD-src-08bf65546100f31be1d43d3fd360f86b73ed1b27.tar.gz |
Use a higher priority interrupt vector for 8254 timer interrupts.
Diffstat (limited to 'sys/i386/isa/nmi.c')
-rw-r--r-- | sys/i386/isa/nmi.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/i386/isa/nmi.c b/sys/i386/isa/nmi.c index 0cdbfc0..12e9e8e 100644 --- a/sys/i386/isa/nmi.c +++ b/sys/i386/isa/nmi.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: intr_machdep.c,v 1.8 1998/02/09 06:08:30 eivind Exp $ + * $Id: intr_machdep.c,v 1.9 1998/03/03 22:56:29 tegge Exp $ */ #include "opt_auto_eoi.h" @@ -62,6 +62,9 @@ #include <i386/isa/intr_machdep.h> #include <sys/interrupt.h> +#ifdef APIC_IO +#include <machine/clock.h> +#endif /* XXX should be in suitable include files */ #ifdef PC98 @@ -450,7 +453,7 @@ icu_setup(int intr, inthand2_t *handler, void *arg, u_int *maskptr, int flags) #ifdef APIC_INTR_REORDER #ifdef APIC_INTR_HIGHPRI_CLOCK /* XXX: Hack (kludge?) for more accurate clock. */ - if (intr == 0 || intr == 8) { + if (intr == apic_8254_intr || intr == 8) { vector = TPR_FAST_INTS + intr; } #endif |