diff options
author | Liav A <liavalb@gmail.com> | 2021-09-23 09:05:34 +0300 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-29 11:24:33 +0200 |
commit | 82bb08a15cbe447b5b0deeac16cccc22bf1c1c57 (patch) | |
tree | ecb5dc7c013c1f11516fb8c74561be10179fa7d2 /Kernel/Bus/PCI/Access.h | |
parent | e22d9dc360d123b5b3c847a9ec882da220dc8e66 (diff) | |
download | serenity-82bb08a15cbe447b5b0deeac16cccc22bf1c1c57.zip |
Kernel/PCI: Cache more details about PCI devices when enumerating them
There's no good reason to fetch these values each time we need them.
Diffstat (limited to 'Kernel/Bus/PCI/Access.h')
-rw-r--r-- | Kernel/Bus/PCI/Access.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Bus/PCI/Access.h b/Kernel/Bus/PCI/Access.h index c0993f927b..67a913d558 100644 --- a/Kernel/Bus/PCI/Access.h +++ b/Kernel/Bus/PCI/Access.h @@ -25,7 +25,7 @@ public: static bool initialize_for_memory_access(PhysicalAddress mcfg_table); static bool initialize_for_io_access(); - void fast_enumerate(Function<void(Address, ID)>&) const; + void fast_enumerate(Function<void(Address, PhysicalID const&)>&) const; void rescan_hardware(); static Access& the(); |