1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

Kernel/SysFS: Split bulky SysFSPCI file into separate files

This commit is contained in:
Liav A 2022-04-22 10:17:13 +03:00 committed by Andreas Kling
parent e488245234
commit 99bac4f34f
8 changed files with 138 additions and 74 deletions

View file

@ -9,7 +9,7 @@
#include <Kernel/Bus/PCI/Access.h>
#include <Kernel/Bus/PCI/Initializer.h>
#include <Kernel/CommandLine.h>
#include <Kernel/FileSystem/SysFS/Subsystems/Bus/PCI/SysFSPCI.h>
#include <Kernel/FileSystem/SysFS/Subsystems/Bus/PCI/BusDirectory.h>
#include <Kernel/Firmware/ACPI/Parser.h>
#include <Kernel/Panic.h>
#include <Kernel/Sections.h>
@ -59,7 +59,7 @@ UNMAP_AFTER_INIT void initialize()
VERIFY_NOT_REACHED();
}
PCI::PCIBusSysFSDirectory::initialize();
PCIBusSysFSDirectory::initialize();
MUST(PCI::enumerate([&](DeviceIdentifier const& device_identifier) {
dmesgln("{} {}", device_identifier.address(), device_identifier.hardware_id());