]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ISA device drivers use the ISA source interrupt number in locations where
authorTor Egge <tegge@FreeBSD.org>
Tue, 4 Jan 2000 22:24:59 +0000 (22:24 +0000)
committerTor Egge <tegge@FreeBSD.org>
Tue, 4 Jan 2000 22:24:59 +0000 (22:24 +0000)
commit82916a112685adfd32f05944e6587f51d141800f
tree06814d68ea0e9506ec2f8f3f491384f267ad506f
parent4164c447703ea9246b18edce3cd071c15c7ccaff
ISA device drivers use the ISA source interrupt number in locations where
the low level interrupt handler number should be used.  Change
setup_apic_irq_mapping() to allocate low level interrupt handler X (Xintr${X})
for any ISA interrupt X mentioned in the MP table.

Remove an assumption in the driver for the system clock (clock.c) that
interrupts mentioned in the MP table as delivered to IOAPIC #0 intpin Y
is handled by low level interrupt handler Y (Xintr${Y}) but don't assume
that low level interrupt handler 0 (Xintr0) is used.

Don't allocate two low level interrupt handlers for the system clock.
Reviewed by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>
15 files changed:
sys/amd64/amd64/mp_machdep.c
sys/amd64/amd64/mptable.c
sys/amd64/amd64/tsc.c
sys/amd64/include/mptable.h
sys/amd64/include/smp.h
sys/amd64/isa/clock.c
sys/i386/i386/mp_machdep.c
sys/i386/i386/mptable.c
sys/i386/i386/tsc.c
sys/i386/include/mptable.h
sys/i386/include/smp.h
sys/i386/isa/clock.c
sys/isa/atrtc.c
sys/kern/subr_smp.c
sys/sys/smp.h