diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-05-29 05:56:12 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-05-29 05:56:12 +0000 |
commit | 9872779de28c7c9afa5acd60762200a1b0230010 (patch) | |
tree | dedfc099daef14424bda5129d6600c0edac9720d /sys/i386/isa/isa.c | |
parent | 76a3a648cb7b62c94ad3a9d63ca6f178d6f9c334 (diff) | |
download | FreeBSD-src-9872779de28c7c9afa5acd60762200a1b0230010.zip FreeBSD-src-9872779de28c7c9afa5acd60762200a1b0230010.tar.gz |
Added code to manage the local and io APICs as structures.
Diffstat (limited to 'sys/i386/isa/isa.c')
-rw-r--r-- | sys/i386/isa/isa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/isa.c b/sys/i386/isa/isa.c index 567561c..9feb0ba 100644 --- a/sys/i386/isa/isa.c +++ b/sys/i386/isa/isa.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: isa.c,v 1.85 1997/05/26 14:42:24 se Exp $ + * $Id: isa.c,v 1.86 1997/05/29 04:55:39 peter Exp $ */ /* @@ -1076,7 +1076,7 @@ isa_irq_pending(dvp) struct isa_device *dvp; { /* read APIC IRR containing the 16 ISA INTerrupts */ - return ((apic_base[APIC_IRR1] & 0x00ffffff) + return ((lapic__irr1 & 0x00ffffff) & (u_int32_t)dvp->id_irq) ? 1 : 0; } |