1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 06:07:44 +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

@ -0,0 +1,23 @@
/*
* Copyright (c) 2021, Liav A. <liavalb@hotmail.co.il>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <Kernel/Bus/PCI/Definitions.h>
#include <Kernel/FileSystem/SysFS.h>
namespace Kernel {
class PCIBusSysFSDirectory final : public SysFSDirectory {
public:
static void initialize();
virtual StringView name() const override { return "pci"sv; }
private:
PCIBusSysFSDirectory();
};
}