MachIntr: Add two methods to find IRQ
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 28 Aug 2012 04:23:26 +0000 (12:23 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 28 Aug 2012 04:26:28 +0000 (12:26 +0800)
commit86d692fe83b6d699dbf900e72cdf9f77dcaccd74
tree099f542719c83a299e933c80ffe3a996abcf590b
parentf7596a00971bd6266a205e95010452b1f94e4d38
MachIntr: Add two methods to find IRQ

- Find IRQ conforming to the specified trigger and polarity, if it was
  configured.
- Find IRQ by GSI, the located IRQ must conform to the specified trigger
  and polarity if it was configured.
sys/platform/pc32/apic/ioapic_abi.c
sys/platform/pc32/apic/ioapic_abi.h
sys/platform/pc32/i386/mptable.c
sys/platform/pc32/icu/icu_abi.c
sys/platform/pc32/isa/clock.c
sys/platform/pc64/apic/ioapic_abi.c
sys/platform/pc64/apic/ioapic_abi.h
sys/platform/pc64/icu/icu_abi.c
sys/platform/pc64/isa/clock.c
sys/platform/pc64/x86_64/mptable.c
sys/sys/machintr.h