Kernel: Add more PCI configuration reading functions

This commit is contained in:
Conrad Pankoff 2019-08-14 01:22:02 +10:00 committed by Andreas Kling
commit dce003c7eb
Notes: sideshowbarker 2024-07-19 12:42:01 +09:00
2 changed files with 32 additions and 20 deletions

View file

@ -52,6 +52,11 @@ u32 get_BAR2(Address);
u32 get_BAR3(Address);
u32 get_BAR4(Address);
u32 get_BAR5(Address);
u8 get_revision_id(Address);
u8 get_subclass(Address);
u8 get_class(Address);
u16 get_subsystem_id(Address);
u16 get_subsystem_vendor_id(Address);
void enable_bus_mastering(Address);
}