mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
Kernel/PCI: Convert PCI BAR number to a strong typed enum class
This commit is contained in:
parent
f510c0ba04
commit
bb6f61ee5d
10 changed files with 26 additions and 17 deletions
|
@ -31,8 +31,8 @@ u32 get_BAR2(Address);
|
|||
u32 get_BAR3(Address);
|
||||
u32 get_BAR4(Address);
|
||||
u32 get_BAR5(Address);
|
||||
u32 get_BAR(Address address, u8 bar);
|
||||
size_t get_BAR_space_size(Address, u8);
|
||||
u32 get_BAR(Address address, HeaderType0BaseRegister);
|
||||
size_t get_BAR_space_size(Address, HeaderType0BaseRegister);
|
||||
void enable_bus_mastering(Address);
|
||||
void disable_bus_mastering(Address);
|
||||
void enable_io_space(Address);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue