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>
Sun, 1 Mar 2015 14:35:59 +0000 (09:35 -0500)
commit155b87bc4b57b87163fae5987d4cbaf9e659a4e5
treee134f723d2fbdb27572e7dc2e84293160715c063
parent08bfe62d7df0694e48412339331c12953cc49f4b
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