PCI helper find_cap
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 26 Jan 2015 18:40:42 +0000 (13:40 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 3 Feb 2015 15:12:30 +0000 (10:12 -0500)
commit94a285b56d6865060dd7548647ae4328a8b469fc
treeee16dd9feb1d287fcd4befb89e455b69a043fd52
parentbfbb9c4b32670e00550ef1f14fa83326e640a1c8
PCI helper find_cap

Adds a find_cap helper, similar to the BSD one.
kern/arch/x86/ioapic.c
kern/arch/x86/pci.c
kern/arch/x86/pci.h
kern/arch/x86/trap.c