diff options
author | tegge <tegge@FreeBSD.org> | 2000-01-04 22:24:59 +0000 |
---|---|---|
committer | tegge <tegge@FreeBSD.org> | 2000-01-04 22:24:59 +0000 |
commit | 8bfa846d9356da2586f4a6e1d554c39177f59e14 (patch) | |
tree | c6080f3bb42c4a733d4d4ce7c0d651f056f6f374 /sys/i386/include/smp.h | |
parent | 4f702e355c9a539bf4c04e5f1f2a333c2bc4fe25 (diff) | |
download | FreeBSD-src-8bfa846d9356da2586f4a6e1d554c39177f59e14.zip FreeBSD-src-8bfa846d9356da2586f4a6e1d554c39177f59e14.tar.gz |
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>
Diffstat (limited to 'sys/i386/include/smp.h')
-rw-r--r-- | sys/i386/include/smp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/include/smp.h b/sys/i386/include/smp.h index 8f0a2f8..c2340ae 100644 --- a/sys/i386/include/smp.h +++ b/sys/i386/include/smp.h @@ -132,6 +132,8 @@ int apic_src_bus_irq __P((int, int)); int apic_int_type __P((int, int)); int apic_trigger __P((int, int)); int apic_polarity __P((int, int)); +void assign_apic_irq __P((int apic, int intpin, int irq)); +void revoke_apic_irq __P((int irq)); void bsp_apic_configure __P((void)); void init_secondary __P((void)); void smp_invltlb __P((void)); |