Add function for finding unused BARs
authorRonald G. Minnich <rminnich@google.com>
Fri, 28 Mar 2014 17:11:44 +0000 (10:11 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sat, 29 Mar 2014 01:17:06 +0000 (18:17 -0700)
commit52819dcdb60f33053b270727e630c2b741d783f2
tree88b264497101c671bd2b7c8997b4775f9bce218d
parent10230f2260c524dbb7ef936e261ca7e14fff72cf
Add function for finding unused BARs

MSI-X will need up to two unused BARs, and at least one.
Next step is code to find the MSI-X capability and fill in the
blanks.

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