MSI-X: first cut
authorRonald G. Minnich <rminnich@google.com>
Mon, 31 Mar 2014 21:19:38 +0000 (14:19 -0700)
committerRonald G. Minnich <rminnich@google.com>
Mon, 31 Mar 2014 21:19:38 +0000 (14:19 -0700)
commit90d2bfe7b32f0df836c139b3fa9b55da328d2f5e
treea846dafb10c32b66ea14cf5778fd13053d95545f
parent99b09a0707077be6a83595bf2f14021efb7c5a6c
MSI-X: first cut

The pieces here may be right, but I doubt they are completely right.
Please look hard at the addrhi, vector, and data variables.
Also, not sure I'm allocating enough contig pages.
There can be up to 2^10 entries, each entry is 16 bytes. That's
2^14 bytes I think?

Signed-off-by: Ronald G. Minnich <rminnich@google.com>
kern/arch/x86/msi.c
kern/arch/x86/pci.h