mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:57:45 +00:00
Kernel/PCI: Remove all macros and replace them with enum classes
This commit is contained in:
parent
9d9d57056e
commit
ef9b8ff0c7
11 changed files with 206 additions and 146 deletions
|
@ -40,6 +40,9 @@ public:
|
|||
DeviceIdentifier get_device_identifier(Address address) const;
|
||||
|
||||
private:
|
||||
u8 read8_field(Address address, RegisterOffset field);
|
||||
u16 read16_field(Address address, RegisterOffset field);
|
||||
|
||||
void enumerate_bus(int type, u8 bus, bool recursive);
|
||||
void enumerate_functions(int type, u8 bus, u8 device, u8 function, bool recursive);
|
||||
void enumerate_device(int type, u8 bus, u8 device, bool recursive);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue