1
Fork 0
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:
Liav A 2020-12-18 20:24:32 +02:00 committed by Andreas Kling
parent 85b4256d10
commit 97b36febd5
2 changed files with 20 additions and 0 deletions

View file

@ -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;