1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:47:34 +00:00

Kernel: Add PCI::get_BAR convenience method

Based on pull #3236 by tomuta

Co-authored-by: Tom <tomut@yahoo.com>
This commit is contained in:
Idan Horowitz 2021-01-02 19:43:45 +02:00 committed by Andreas Kling
parent 172d23deae
commit 40a1f89d67
2 changed files with 22 additions and 0 deletions

View file

@ -235,6 +235,7 @@ u32 get_BAR2(Address);
u32 get_BAR3(Address);
u32 get_BAR4(Address);
u32 get_BAR5(Address);
u32 get_BAR(Address address, u8 bar);
u8 get_revision_id(Address);
u8 get_programming_interface(Address);
u8 get_subclass(Address);