mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +00:00
Kernel: Add a method to retrieve the Physical ID for a PCI address
This commit is contained in:
parent
85b4256d10
commit
97b36febd5
2 changed files with 20 additions and 0 deletions
|
@ -60,6 +60,8 @@ public:
|
|||
virtual u16 read16_field(Address address, u32 field) = 0;
|
||||
virtual u32 read32_field(Address address, u32 field) = 0;
|
||||
|
||||
PhysicalID get_physical_id(Address address) const;
|
||||
|
||||
protected:
|
||||
virtual void enumerate_hardware(Function<void(Address, ID)>) = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue