MSI-X support
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 3 Apr 2014 22:53:13 +0000 (15:53 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 3 Apr 2014 23:04:39 +0000 (16:04 -0700)
commit59feae1cebdb027de30d1f94e83eb795f3a66d5b
tree2929571ca80f0642e4245b424b459161a38a5139
parent38a0abf0715bd36027bc2e1c621cdc9a2c9d31e6
MSI-X support

Adds support for MSI-X interrupts, including routing of individual
vectors to cores, via the irq_handler.

Cleaned up MSI a bit too, extracting common code (they use the same
MSI addr and data format).

Still needs a little cleanup and synchronization support.
kern/arch/x86/ioapic.c
kern/arch/x86/msi.c
kern/arch/x86/pci.c
kern/arch/x86/pci.h
kern/arch/x86/trap.c