x86: one register_irq() for all types of buses
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 12 Mar 2014 23:31:41 +0000 (16:31 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sat, 29 Mar 2014 01:16:11 +0000 (18:16 -0700)
commitfecf017d4190188d819a92b055cafcb0291cbf0c
treed4050e5994ff04113b04cec2986c2d7d56748db5
parent75b3c879b959287055eb51beebd8c4d64f462dad
x86: one register_irq() for all types of buses

The 'raw' vectors are just the BusLAPIC type.  I didn't like the nxm way
of relying on BUSUNKNOWN to detect if it was potentially LAPIC.  That
meant you'd always need a bus (like BusPCI) and not just the IRQ for any
external IRQ numbers that were within the LAPIC vector range.

Another way to put it: the LAPIC 'irq' and the global system irq
(devices/acpi) share a different domain, so we need to differentiate on
the bus.
kern/arch/x86/init.c
kern/arch/x86/io.h
kern/arch/x86/ioapic.c
kern/arch/x86/smp.c
kern/arch/x86/trap.c
kern/arch/x86/trap.h
kern/drivers/dev/ether.c
kern/include/trap.h
kern/src/testing.c