1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 23:58:11 +00:00

Kernel/PCI: Split Access::rescan_hardware method

To ensure clarity, this method is essentially splitted to two methods to
be called according to the access type being determined beforehand.
This commit is contained in:
Liav A 2021-10-22 20:02:02 +03:00 committed by Andreas Kling
parent d395ac8f59
commit 40b1e6376b
2 changed files with 48 additions and 29 deletions

View file

@ -27,6 +27,8 @@ public:
void fast_enumerate(Function<void(DeviceIdentifier const&)>&) const;
void rescan_hardware();
void rescan_hardware_with_memory_addressing();
void rescan_hardware_with_io_addressing();
static Access& the();
static bool is_initialized();